正在加载图片...
3.2 Ubuntu/Linux中的Python 3.2.4编写一个Python程序 4/usr/bin/env python cooiny utr-8* author "Lentin Joseph" copyright="Copyright 2017,The Hello World Project" credits ["Apress"] license ="GPL version ="0.0.1" maintainer "Lentin Joseph" email ="gboticslabsagmail.com" status "Development" print 'Hello World' 图3.7 hello_world.py脚本3.2 Ubuntu/Linux中的Python 3.2.4 编写一个Python程序 用Python编写脚本 使用脚本时,将代码写入扩展名为 .py 的文件中。 创建一个名为 hello_ world.py 的文件,并在文件 中编写代码,如图3-7。可以使用gedit文本编辑器或任 何文本编辑器来编辑代码
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有