python 获取当前日期 礼拜

python 获取当前日期 星期

from datetime import datetime


d =datetime.today()     #获取当前日期时间

d.isoweekday()           #获取时间周几