用python寫txt文件的最簡單方法

py> f = open('test.txt', 'w') py> print >>f, 'This is a test.' py> f.close()
相關文章
相關標籤/搜索