Created
August 22, 2017 21:45
-
-
Save JuanjoSalvador/2a3166f3d253f99bc30e57b237a78e92 to your computer and use it in GitHub Desktop.
Another XKCD's password generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import random | |
words = [] | |
passw = [] | |
with open("words.txt", "r") as f: | |
for l in f: | |
words.append(l) | |
for i in range(0,4): | |
w = int(round(random.random() * 200)) | |
passw.append(words[w].rstrip()) | |
print("Your password is: '{}'.".format(" ".join(passw))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rabbits | |
suspect | |
smoke | |
brass | |
sincere | |
long | |
cherry | |
thirsty | |
ugliest | |
arrogant | |
abrupt | |
mark | |
tired | |
rainstorm | |
curious | |
queen | |
staking | |
stiff | |
scandalous | |
jam | |
wretched | |
knock | |
fluffy | |
upset | |
inform | |
command | |
base | |
telephone | |
coat | |
thinkable | |
cough | |
shoe | |
harmony | |
religion | |
health | |
calculating | |
stage | |
thundering | |
rare | |
trouble | |
play | |
slimy | |
hands | |
quizzical | |
one | |
sturdy | |
food | |
probable | |
wiry | |
porter | |
voyage | |
squealing | |
rude | |
snatch | |
numerous | |
line | |
shame | |
hot | |
itchy | |
grease | |
guiltless | |
belief | |
long | |
tall | |
unbecoming | |
dizzy | |
equable | |
quirky | |
perpetual | |
vulgar | |
little | |
cut | |
request | |
kneel | |
bath | |
push | |
turkey | |
same | |
roof | |
scattered | |
secretary | |
panoramic | |
elderly | |
dress | |
taste | |
hapless | |
island | |
quiet | |
bomb | |
elegant | |
abaft | |
puzzling | |
sense | |
repair | |
clear | |
glossy | |
veil | |
greedy | |
hollow | |
town | |
sun | |
offend | |
army | |
picayune | |
third | |
subtract | |
unkempt | |
fast | |
uneven | |
bathe | |
cute | |
knot | |
ready | |
lace | |
guitar | |
baseball | |
payment | |
confuse | |
copper | |
shallow | |
extra-large | |
troubled | |
nasty | |
marvelous | |
adorable | |
knife | |
succeed | |
precede | |
rejoice | |
helpful | |
gruesome | |
drunk | |
abashed | |
visitor | |
machine | |
far | |
meaty | |
flower | |
handy | |
route | |
dull | |
surround | |
signal | |
pedal | |
consider | |
public | |
grip | |
reproduce | |
bury | |
men | |
approval | |
mellow | |
bubble | |
descriptive | |
judicious | |
shivering | |
black | |
round | |
scribble | |
daffy | |
wish | |
shaggy | |
cooperative | |
furniture | |
teeny | |
berry | |
fine | |
faded | |
seashore | |
abrasive | |
ruin | |
stuff | |
burly | |
flight | |
actor | |
hallowed | |
pastoral | |
raspy | |
drown | |
tremble | |
ruddy | |
impress | |
best | |
squalid | |
count | |
bruise | |
harsh | |
good | |
sick | |
sticky | |
monkey | |
attraction | |
snobbish | |
roomy | |
squirrel | |
first | |
interesting | |
pin | |
collar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment