python2.6.5中如何查询某一天是星期几,

给个函数,怎么都找不到

import time
print time.strftime("%w")

参考资料:http://docs.python.org/library/time.html

温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答