2019年12月13日

python os模块和shutil模块

摘要: 操作系统平台属性或者方法 os.name:Windows是nt,linux是POSIX。 os.uname(),linux显示 sys.platform,window显示win32,linux显示Linux。 os.listdir("o:/temp"),返回目录内容列表。 os也有open,read 阅读全文

posted @ 2019-12-13 11:39 xpc199151 阅读(431) 评论(0) 推荐(0) 编辑

导航