facebook facebook twitter rss

Simple Password Generator (python)

Author: UzunDz , Published: 09-05-2014
Hi , i want to share this code with you :

from random import choice
import string

def GenPasswd(length=8, chars=string.letters + string.digits):
return ''.join([choice(chars) for i in range(length)])

print GenPasswd(12)

-----------------------------
12 the length of password
enjooy.

Like us on Facebook :