赵乐ACM

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年3月16日

摘要: 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)