写入文件并换行
file = open('/all/python/db.txt', 'a') #追加写入 file.write("is dir not data time sql bakup!!!") file.write('\n') file.close()
写入文件并换行
file = open('/all/python/db.txt', 'a') #追加写入 file.write("is dir not data time sql bakup!!!") file.write('\n') file.close()