软件测试-python-time

time.strftime(“时间日期格式”,须要格式化的系统时间) %Y: 4位年 %y: 2位年 %m: 月 %d: 日 %H: 24制小时 %I: 12小时制小时 %M:分钟 %S:秒 %s:时间 time.sleep(数字秒):当前进程休眠几秒钟web import calendarbash calendar.isleap(年):判断年是不是闰年,若是是返回True,不然返回Falsesv
相关文章
相关标签/搜索