#!/usr/bin/python
#/coding:utf-8
import random,string
x=string.digits+string.letters
passwd=''
for i in range(10):
tmp=random.choice(x)
passwd+=tmp
print passwd
我用的是这个软件
转载于:https://blog.51cto.com/13587748/2070369
#!/usr/bin/python
#/coding:utf-8
import random,string
x=string.digits+string.letters
passwd=''
for i in range(10):
tmp=random.choice(x)
passwd+=tmp
print passwd
我用的是这个软件
转载于:https://blog.51cto.com/13587748/2070369