无名商城论坛

搜索
查看: 342|回复: 0

[其他技术] 【HC】python基础: execute

[复制链接]

1万

主题

1万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
32464
发表于 2022-5-8 18:43:20 | 显示全部楼层 |阅读模式
1、运行代码片段:
输入python 3运行
直接:>>> print(“hello python inter”)

2、配置python环境
1、首先下载geany(root权限下):apt-get install geany;
2、配置python环境运行指令等:python commands : compile第一个指令修改为python 3
execute 改为python 3

3、运行程序
Linux 终端python ***.py
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表