摘要:
今日内容: re 模块 collentions 模块 正则表达式 1.re 模块: re模块下常用的方法: 1 import re 2 #1.re.findall() 3 ret1 = re.findall('a','eva egon yuan') #以 'a' 为眼,找所有。 并且 以列表返回。 阅读全文
posted @ 2017-08-08 23:31
Aray007
阅读(382)
评论(0)
推荐(0)
摘要:
今日内容: 1.时间模块 (time) 2.随机数 (random) 3.sys模块 4.os模块 5.序列化模块 1.时间模块(time) 表示时间的三种方式: 1.时间戳(timestamp) 2.格式化的时间字符串(Format String) 3.元组(结构化) (struct time) 阅读全文
posted @ 2017-08-08 19:56
Aray007
阅读(248)
评论(0)
推荐(0)