from datetime import datetime
dayOfWeek = datetime.now().isoweekday() ###返回数字1-7代表周一到周日
day_Week = datetime.now().weekday() ###返回从0开始的数字,比如今天是星期5,那么返回的就是4
print(dayOfWeek )
print(day_Week )
from datetime import datetime
dayOfWeek = datetime.now().isoweekday() ###返回数字1-7代表周一到周日
day_Week = datetime.now().weekday() ###返回从0开始的数字,比如今天是星期5,那么返回的就是4
print(dayOfWeek )
print(day_Week )