ubuntu中运行python脚本

1. 运行方式一 新建test.py文件:html touch test.py  而后vim test.py打开并编辑:python print 'Hello World'  打开终端,输入命令:vim python test.py  输出:oop Hello World  2. 运行方式二 这部份内容只对Linux/Unix用户适用,不过Windows用户可能也对程序的第一行比较好奇。 首先咱们
相关文章
相关标签/搜索