Advertisement
mgostih

Password Generator

Aug 4th, 2015
601
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. import random
  2. def GenPassword(l):
  3. x = ""
  4. for i in range(l):
  5. a = random.randrange(32,126)
  6. x+=chr(a)
  7. return x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement