摘要:
2.random模块 #随机浮点数 random.random() #生成0到1之间的随机浮点数,不能自己指定 random.uniform(1,10) #可以指定 #随机整数 random.randint(1,7) #生成1到7之间的随机整数1<=n<=7 #随机选取0到100间的偶数: rand 阅读全文
posted @ 2018-09-01 21:48
百里屠苏top
阅读(1003)
评论(0)
推荐(0)
摘要:
1.模块介绍 2.time & datetime 3.random 4.os 5.sys 6.shutil 7.json & pickle 8.shelve 9.xml处理 10.yaml处理 11.configparser 12.hashlib 13.subprocess 14.logging模块 阅读全文
posted @ 2018-09-01 17:39
百里屠苏top
阅读(568)
评论(0)
推荐(0)

浙公网安备 33010602011771号