Python Open函数学习

转载自:http://www.runoob.com/python/python-files-io.html open 函数 你必须先用Python内置的open()函数打开一个文件,创建一个file对象,相关的方法才可以调用它进行读写。 语法: file object = open(file_name [, access_mode][, buffering]) 各个参数的细节如下: file_na
相关文章
相关标签/搜索