在 Windows 下创建一个文件叫 hello.py, 并输入
1 print('hello world') #输出 hello world
然后在解释器中执行命令: python hello.py, 输出
来源: http://www.bubuko.com/infodetail-3157345.html