python学习语法
来源:互联网 发布:软件质量管理体系分类 编辑:程序博客网 时间:2024/05/21 19:35
python学习语法之 time.mktime
Python time mktime() 函数执行与gmtime(), localtime()相反的操作,它接收struct_time对象作为参数,返回用秒数来表示时间的浮点数。
如果输入的值不是一个合法的时间,将触发 OverflowError 或 ValueError。
语法
mktime()方法语法:
time.mktime(t)参数
- t -- 结构化的时间或者完整的9位元组元素.
- 返回值
返回用秒数来表示时间的浮点数。
转载自http://www.runoob.com/python/att-time-mktime.html
详情参看上述链接
0 0
- 比较学习Python语法
- python学习:if 语法
- Python基础语法学习
- python 语法学习
- python 语法 学习
- Python学习之:语法
- 系统学习python语法
- Python基础语法学习
- python学习笔记-语法
- Python 学习基本语法
- 学习python--基础语法
- Python学习-语句、语法
- python 学习语法
- python学习语法
- python学习语法
- python学习语法
- python学习语法
- python学习语法
- Mybatis操作Sybase数据库游标分页
- 欢迎使用CSDN-markdown编辑器
- 用Maven创建Mahout环境详细过程
- C++中cin的返回值
- 没办法前置声明命名空间里的东西
- python学习语法
- PathVariable annotation was empty on param 0.
- iReport整合web(Struts2)后台开发
- dl图片
- 关于页面定时器的错误「中止」问题
- 连续邮资问题
- 杭电ACM2005:第几天
- 【2016-02-23】近期小结
- linux常用命令1