python文件操作
#!/usr/bin/python
# coding: utf-8
fo = open("file.txt", "a")
fo.write("hello")
a = [3, 4, 5]
fo.write(str(a)) # python文件操作输入须为str格式
fo.close()
python文件操作
#!/usr/bin/python
# coding: utf-8
fo = open("file.txt", "a")
fo.write("hello")
a = [3, 4, 5]
fo.write(str(a)) # python文件操作输入须为str格式
fo.close()