The easiest way to write TXT files with Python

xiaoxiao2021-03-06  14

Py> f = open ('test.txt', 'w')

Py> Print >> F, 'this is a test.'

Py> f.close ()

转载请注明原文地址:https://www.9cbs.com/read-48924.html

New Post(0)