Hello World程序 [root@mysql ~]# python3 Python 3.6.5 (default, Jul 8 2018, 11:41:23) [GCC 4.4.7 20120313 (Red Hat 4.4.7-18)] on linux Type "help", "copyright", "credits" or "license" for more information. >>>…
引言: 最近大半年都在学习python编程,在双十一的时候购买了<Python编程核心>,看到makeTextFile.py和readTextFile.py两个例子有点错误,所以在这里给修正一下! makeTextFile.py脚本: #!/usr/bin/env python #_*_coding:utf8_*_ 'makeTextFile.py -- create text file' import os ls = os.linesep #get filename while True:…