https://github.com/TheAlgorithms/Python/blob/master/other/password_generator.pyfrom random import choice from string import ascii_letters, digits #, punctuation chars = ascii_letters + digits # + punctuation length = 8 # 8 is really too short for the state of computers in 2021! for number_of_passwords in range(4): print("".join(choice(chars) for x in range(length)))
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.