2022年 11月 4日 python 获取当前年份和月份 未分类 admin import datetimetoday = datetime.datetime.today()year = today.yearmonth = today.month