2022年 11月 9日 python获取当天日期 未分类 admin import datetime now = datetime.datetime.now().strftime('%Y-%m-%d_%H%M%S') 1 2 3 4