11智能在线
新记
python2.6.5中如何查询某一天是星期几,
给个函数,怎么都找不到
举报该文章
相关建议 2010-07-29
import time
print time.strftime("%w")
参考资料:
http://docs.python.org/library/time.html
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/f4q2vvqf8.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
python中怎样通过日历模块显示今天是星期几
Python中如何计算当前日期是今年第几周?
python多级列表如[1,2,3,[4,5,[6,7],[...
python 根据一年中的第几天判断出日期
python 获取某个月的全部日期
关于python中的日期推算
c语言知道日期 算星期几
Python:输入年月日判断是此年的第多少天