标签:长度 length 字符 random nbsp range div abc str
s = ‘‘ chars = ‘abcdefghijklmnopqrstuvwxyz0123456789‘ length = len(chars) - 1 random = Random() for i in range(31): s += chars[random.randint(0, length)] x = int(time.time() * 1000) s = str(x)+s
标签:长度 length 字符 random nbsp range div abc str
原文地址:http://www.cnblogs.com/caicaihong/p/6690578.html