当前位置:首页 > 教育 > 用python编程

用python编程

  • 2023-06-04 12:35:34

用python编程?

用python编程

以下为python编程教学

1使用python的解释运行:打开互交式解释器,写入“pront'hello world”。

2将文件名改为“hello.py”,“py”是后缀名。

3打开刚才写的代码,点击“Run”→run mo dule,或者直接按F5运行代码。

4通过Windows命令运行:找到hello.py的文件,输入“python hello.py”。即可运行程序。

热门阅读

最新文章