标签:
import time import datetime today = int(time.strftime(‘%w‘)) print today anyday = datetime.datetime(2012, 04, 22).strftime(‘%w‘) print anyday
python 日期转星期
原文地址:http://www.cnblogs.com/i80386/p/4548500.html