Oct-27-2017, 10:54 AM
Hello Pdelnegro..
I appreciate your interest in getting into practice so early before completion of basics.
In general I directly used some of the following codes to generate password.
I'm not sure of your code, but i just want to share if this helps you in any manner. Ignore if it doesn't.
string.ascii_letters
Concatenation of the ascii (upper and lowercase) letters
string.digits
The string '0123456789'.
string.punctuation
String of ASCII characters which are considered punctuation characters in the C
locale.
print string.ascii_letters
print string.digits
print string.punctuation
I appreciate your interest in getting into practice so early before completion of basics.
In general I directly used some of the following codes to generate password.
I'm not sure of your code, but i just want to share if this helps you in any manner. Ignore if it doesn't.
string.ascii_letters
Concatenation of the ascii (upper and lowercase) letters
string.digits
The string '0123456789'.
string.punctuation
String of ASCII characters which are considered punctuation characters in the C
locale.
print string.ascii_letters
print string.digits
print string.punctuation