[python]获取当前年月时间:2023-03-10 02:47:36 import time time.strftime('%Y%m',time.localtime(time.time()))#获取当前年月