已经接触过hello world后,我们来创建第一个文件夹:
1.点击左上角file->New File;
2.文件和shell命令窗口不同,没有>>>提示;
3.开始第一个程序吧,在文本框中输入:
print "Space:"
print "A really big place"
print "that contains a lot of stuff"
print "and a lot of nothing between the stuff"
print "This is why it is called space"
print ""
print "This definition of space is stupid"
点击上面的Run->Run Moudle运行,创建文件保存地址;文件名01.py,会在shell窗口出现如下结果:
第一个文件运行结束;