LearnPythonTheHardWay(1)
主要是简单的学习一下输出Hello world。
跟了解 print 的用法,及#的作用
#放在开头可以定义编码,如 #coding:gbk 指定编码为gbk
#放在python代码中可以作为注释
print "Hello world!" print "Hello Again" print "I like typing this" print "This is fun" print "Yay! printint." print "I'd much rather you 'not'." print 'I "said" do not touch this.'