Python - Pronounceable Passwords
Produces a randomly chosen word password of any given length.
- Linux Mint dictionaries are commonly placed
/usr/share/dict
. You may need yo insert your own dictionary location.
import random
words = open('/usr/share/dict/words').read().split()
"-".join([random.choice(words) for _ in range(3)])
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.