Searched refs:bakdir (Results 1 – 2 of 2) sorted by relevance
32 def new_report(bakdir, str): argument33 files = os.listdir(bakdir)41 lists.sort(key=lambda fn:os.path.getmtime(bakdir + "/" + fn)) # 按时间排序42 file_new = os.path.join(bakdir,lists[-1]) # 获取最新的文件保存到file_new
192 def new_report(bakdir, str): argument193 files = os.listdir(bakdir)200 lists.sort(key=lambda fn:os.path.getmtime(bakdir + "/" + fn)) # 按时间排序201 file_new = os.path.join(bakdir,lists[-1]) # 获取最新的文件保存到file_new