文本编辑器新建文件hello_world.py,输入如下内容:
print("Hello Python world!")
保存。
运行命令,python [file]:
E:\git\python_demo>python hello_world.py
Hello Python world!
python源文件的后缀名是.py。
文本编辑器新建文件hello_world.py,输入如下内容:
print("Hello Python world!")
保存。
运行命令,python [file]:
E:\git\python_demo>python hello_world.py
Hello Python world!
python源文件的后缀名是.py。