摘要:
print os.getcwd(), type(os.getcwd()) print os.getcwdu(), type(os.getcwdu()) 结果如下: C:\Users\Administrator\PycharmProjects\mypython_1 <type 'str'>C:\Use 阅读全文
posted @ 2016-02-01 10:49
房子斯特
阅读(687)
评论(0)
推荐(0)
摘要:
1.random 和其他语言一样,返回大于等于0、小于1的浮点数 2.uniform(a,b) 返回大于等于a、小于等于b的浮点数 3.randint(a,b) 这个很好理解,返回一个介于a和b之间的整数 阅读全文
posted @ 2016-02-01 09:38
房子斯特
阅读(157)
评论(0)
推荐(0)

浙公网安备 33010602011771号