Random Password Generator


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments


You need to login to view comments.