Python open() 函数 文件处理

函数:open() 1:做用:打开一个文件 2:语法:python open(file[, mode[, buffering[, encoding[, errors[, newline[, closefd=True]]]]]])shell 3:参数说明: file:              要打开的文件名,需加路径(除非是在当前目录)。惟一强制参数 mode:         文件打开的模式 b
相关文章
相关标签/搜索