i got a program from one of the site to make password generator.
import string
from random import *
characters = string.ascii_letters + string.punctuation + string.digits
password = "".join(choice(characters) for x in range(randint(8, 16)))
print password
can someone explain what would be stored in "password" variable? would it be a value with a combination of upper,lower case,punctuation and digits with any length btwn 8 and 16?
is there any easier way to make password generator using python program?