目录

python运行一个.py文件

目录

python运行一个.py文件

print(100+200+300)

执行:

D:\File\python>python

600

这边需要注意,需要进入到.py文件的目录下。

print('hello world')

执行:

D:\File\python>python

hello world

  1. 如果要编写python的相关代码可以采用:

    ,免费使用,中英文界面都有。