Python-DOS-Hello World!

来源:互联网 发布:中科大软件学院 编辑:程序博客网 时间:2024/06/10 04:09
刚下载了Python开始学习,尝试在DOS下执行.py文件。
Python环境搭建网页: http://www.runoob.com/python/python-install.html
PyCharm教程网页: https://www.jetbrains.com/help/pycharm/creating-and-running-your-first-python-project.html

1.进入cmd
2.进入.py文件所在盘( D:)
3. cd .py文件所在位置
4.调用命令  python hello.py