posted @ 2020-06-19 11:35 留不住的时间 阅读(123) 评论(0) 推荐(0) 编辑
摘要:
一:文件和目录操作 1:文件操作 >>> fp=open('d:/aaa.txt','w') >>> fp.close() 2:目录操作 (1)获取当前路径 >>> import os >>> print (os.getcwd()) C:\Python37 (2)创建目录 >>> import os 阅读全文
posted @ 2020-06-19 11:35 留不住的时间 阅读(123) 评论(0) 推荐(0) 编辑
posted @ 2020-06-19 11:33 留不住的时间 阅读(192) 评论(0) 推荐(0) 编辑
posted @ 2020-06-19 11:25 留不住的时间 阅读(270) 评论(0) 推荐(0) 编辑
posted @ 2020-06-19 11:22 留不住的时间 阅读(261) 评论(0) 推荐(0) 编辑
posted @ 2020-06-19 11:12 留不住的时间 阅读(326) 评论(0) 推荐(0) 编辑
posted @ 2020-06-19 11:08 留不住的时间 阅读(219) 评论(0) 推荐(0) 编辑
posted @ 2020-06-19 11:00 留不住的时间 阅读(336) 评论(0) 推荐(0) 编辑