Posted By

johnny2shoes on 10/07/10


Tagged

password


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

beebs93


Random Password Generator


 / Published in: Python
 

  1. import string
  2. from random import choice
  3. def GetRandomPassword():
  4. return ''.join([choice(string.letters + string.digits) for i in range(9)])

Report this snippet  

You need to login to post a comment.