摘要:
1. 文件写操作文件写操作,需要在打开文件的时候添加参数,如open("filename", "w")以下是对文件操作的函数小结close -- Closes the file. Like File->Save.. in your editor.read -- Reads the contents of the file, you can assign the result to a variable.readline -- Reads just one line of a text file.truncate -- Empties the fil 阅读全文
posted @ 2013-03-16 12:10
赵乐ACM
阅读(256)
评论(0)
推荐(0)