摘要:
time模块使用>>> import time>>> time.time()1524106495.3738947>>> time.localtime()time.struct_time(tm_year=2018, tm_mon=4, tm_mday=19, tm_hour=10, tm_min=56 阅读全文
摘要:
import osos.getcwd() ## 获取当前程序执行路径os.listdir() ## 显示指定目录下的所有文件和目录名os.remove() ## 删除一个文件os.removedirs() ## 删除多个目录os.path.isfile() ## 检验给出的路径是否是一个文件os.p 阅读全文
摘要:
阅读全文