会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
让学习成为一种习惯
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
32
33
34
35
36
2017年3月12日
Python-时间戳
摘要: # import time # 返回时间戳 # print(time.time()) #返回时间戳 # print(time.gmtime()) #返回utc时间戳 # print(time.localtime(tim...
阅读全文
posted @ 2017-03-12 10:16 雷神约
阅读(1871)
评论(0)
推荐(0)
2017年3月9日
Python-内置函数4
摘要: 1 import time 2 3 # 返回时间戳 4 t=time.time() 5 print(t) name="one"''' bin() oct() hex() bytes() ascii() any() all() abs() bool() str() dict() list() callable() 判断能不能被调用,多数用于函数 char() 将ascii码对应的数...
阅读全文
posted @ 2017-03-09 18:14 雷神约
阅读(171)
评论(0)
推荐(0)
Python-内置函数3
摘要: '''1.lambda 声明一个匿名函数,并且自动给你返回值2.map()3.float()4.globals()5.locals()6.input()7.print()8.int()9.int()10.len()11.open()12.bin13.oct()14.hex()15.tuple()16
阅读全文
posted @ 2017-03-09 16:16 雷神约
阅读(156)
评论(0)
推荐(0)
Python-内置函数2
摘要: name="one"''' bin() oct() hex() bytes() ascii() any() all() abs() bool() str() dict() list() callable() 判断能不能被调用,多数用于函数 char() 将ascii码对应的数转为字符 ord() 将
阅读全文
posted @ 2017-03-09 11:18 雷神约
阅读(204)
评论(0)
推荐(0)
上一页
1
···
32
33
34
35
36
公告