2020年1月25日
摘要: datetime.datetime.now()获取当前日期和时间 datetime.datetime(2019,9,30,22,22,0) 构造日期和时间函数 fromtimestamp() 可以将时间戳转换成 datetime 对象 strptime()和strftime()函数 strptime 阅读全文
posted @ 2020-01-25 22:22 InnoLeo 阅读(663) 评论(0) 推荐(0) 编辑
摘要: os 就是operation system os.name Python 运行所在的环境: posix,nt,java os.environ os.walk() os.listdir() “list directories”,列出(当前)目录下的全部路径(及文件) os.mkdir() “make 阅读全文
posted @ 2020-01-25 22:11 InnoLeo 阅读(170) 评论(0) 推荐(0) 编辑