注意:使用open() 方法一定要保证关闭文件对象,即调用close() 方法。 open() 函数常用形式是接收两个参数:文件名(file)和模式(mode)。 open(file, mode='r ..
確定! 回上一頁