摘要:
一:os模块: 1.os.getcwd() 1 import os 2 os.getcwd() 3 'C:\\day5' 2.os.chdir() os.chdir('C:\\') os.getcwd() 'C:\\' 3.os.pardir 返回当前目录的父目录 os.pardir '..' 4. 阅读全文
摘要:
1.time与datetime 时间戳 1970年1月1日之后的秒,即:time.time() 格式化的字符串 2018-10-17 17:11, 即:time.strftime('%Y-%m-%d') 结构化时间 元组包含了:年、日、星期等... time.struct_time 即:time.l 阅读全文