/ Published in: Python
Expand |
Embed | Plain Text
import string from random import choice def GetRandomPassword(): return ''.join([choice(string.letters + string.digits) for i in range(9)])
You need to login to post a comment.
johnny2shoes on 10/07/10
1 person have marked this snippet as a favorite
import string from random import choice def GetRandomPassword(): return ''.join([choice(string.letters + string.digits) for i in range(9)])
You need to login to post a comment.