用python编程,python创意小作品

首页 > 生活 > 作者:YD1662025-06-19 12:46:55

用python编程,python创意小作品(1)

以下为python编程教学

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

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

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

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

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.