|
@@ -97,7 +97,8 @@ def yongyi_download(dayFlag, weekFlag):
|
|
|
# new_dir = '/Users/xiexiaoyuan/Downloads/yongyi'
|
|
|
new_dir = r'D:/eta/yongyi_data/yongyi'
|
|
|
current_time = datetime.datetime.now().strftime("%Y-%m-%d")
|
|
|
- current_time_full = datetime.datetime.now().strftime("%Y年%m月%d日")
|
|
|
+ current_time_full = datetime.datetime.now().strftime('%Y{y}%m{m}%d{d}').format(y='年', m='月', d='日')
|
|
|
+ print(current_time_full)
|
|
|
|
|
|
# 查找文件并重命名
|
|
|
os.chdir(save_to_dir)
|