2018年4月25日

5-6 如何使用临时文件

摘要: 一、TemporaryFile 由TemporaryFile创建的文件,不能由绝对路径找到,只能通过文件对象找到访问 >>> help(TemporaryFile) Help on function NamedTemporaryFile in module tempfile: NamedTempor 阅读全文

posted @ 2018-04-25 09:58 石中玉smulngy 阅读(136) 评论(0) 推荐(0)

5-5 如何访问文件的状态

摘要: 一、系统调用 os模块 >>> help(os.stat) Help on built-in function stat in module nt: stat(...) stat(path) -> stat result Perform a stat system call on the given 阅读全文

posted @ 2018-04-25 09:55 石中玉smulngy 阅读(220) 评论(0) 推荐(0)

导航