Skip to content

Instantly share code, notes, and snippets.

@sesh
Created February 17, 2016 04:31
Show Gist options
  • Save sesh/4d2680cebee65d070adc to your computer and use it in GitHub Desktop.
Save sesh/4d2680cebee65d070adc to your computer and use it in GitHub Desktop.
Easy Passwords
import random
def easypass(length=2, joiner='-'):
with open('wordlist.txt') as f:
words = f.readlines()
return joiner.join([random.choice(words).strip() for x in range(length)])
if __name__ == '__main__':
print(easypass())
abandon
abandoned
ability
about
above
abroad
absence
absent
absolute
absolutely
absorb
abuse
academic
accent
accept
acceptable
access
accident
accidental
accidentally
accommodation
accompany
according
account
accurate
accurately
accuse
achieve
achievement
acknowledge
acquire
across
action
active
actively
activity
actor
actress
actual
actually
adapt
addition
additional
address
adequate
adequately
adjust
admiration
admire
admit
adopt
adult
advance
advanced
advantage
adventure
advertise
advertisement
advertising
advice
advise
affair
affect
affection
afford
afraid
after
afternoon
afterwards
again
against
agency
agent
aggressive
agree
agreement
ahead
aircraft
airport
alarm
alarmed
alarming
alcohol
alcoholic
alive
allied
allow
almost
alone
along
alongside
aloud
alphabet
alphabetical
alphabetically
already
alter
alternative
alternatively
although
altogether
always
amaze
amazed
amazing
ambition
ambulance
among
amount
amuse
amused
amusing
analyse
analysis
ancient
anger
angle
angrily
angry
animal
ankle
anniversary
announce
annoy
annoyed
annoying
annual
annually
another
answer
anticipate
anxiety
anxious
anxiously
anyone
anything
anyway
anywhere
apart
apartment
apologize
apparent
apparently
appeal
appear
appearance
apple
application
apply
appoint
appointment
appreciate
approach
appropriate
approval
approve
approving
approximate
approximately
argue
argument
arise
armed
around
arrange
arrangement
arrest
arrival
arrive
arrow
article
artificial
artificially
artist
artistic
ashamed
aside
asleep
aspect
assist
assistance
assistant
associate
associated
association
assume
assure
atmosphere
attach
attached
attack
attempt
attempted
attend
attention
attitude
attorney
attract
attraction
attractive
audience
author
authority
automatic
automatically
autumn
auxiliary
available
average
avoid
awake
award
aware
awful
awfully
awkward
awkwardly
background
backward
backwards
bacteria
badly
baggage
balance
bandage
bargain
barrier
based
basic
basically
basis
bathroom
battery
battle
beach
beard
beautiful
beautifully
beauty
because
become
bedroom
before
begin
beginning
behalf
behave
behaviour
behind
belief
believe
belong
below
beneath
benefit
beside
better
betting
between
beyond
bicycle
biology
birth
birthday
biscuit
bitter
bitterly
black
blade
blame
blank
blankly
blind
block
blond
blonde
blood
board
border
bored
boring
borrow
bother
bottle
bottom
bound
boyfriend
brain
branch
brand
brave
bread
break
breakfast
breast
breath
breathe
breathing
breed
brick
bridge
brief
briefly
bright
brightly
brilliant
bring
broad
broadcast
broadly
broken
brother
brown
brush
bubble
budget
build
building
bullet
bunch
burnt
burst
business
businessman
businesswoman
butter
button
buyer
cabinet
cable
calculate
calculation
called
calmly
camera
campaign
camping
cancel
cancer
candidate
candy
cannot
capable
capacity
capital
captain
capture
cardboard
career
careful
carefully
careless
carelessly
carpet
carrot
carry
castle
catch
category
cause
cease
ceiling
celebrate
celebration
cellphone
cellular
centimetre
central
centre
century
ceremony
certain
certainly
certificate
chain
chair
chairman
chairwoman
challenge
chamber
chance
change
channel
chapter
character
characteristic
charge
charity
chart
chase
cheap
cheaply
cheat
check
cheek
cheerful
cheerfully
cheese
chemical
chemist
chemistry
cheque
chest
chicken
chief
child
chocolate
choice
choose
church
cigarette
cinema
circle
circumstance
citizen
civil
claim
class
classic
classroom
clean
clear
clearly
clerk
clever
click
client
climate
climb
climbing
clock
close
closed
closely
closet
cloth
clothes
clothing
cloud
coach
coast
coffee
coldly
collapse
colleague
collect
collection
college
colour
coloured
column
combination
combine
combining
comedy
comfort
comfortable
comfortably
command
comment
commercial
commission
commit
commitment
committee
common
commonly
communicate
communication
community
company
compare
comparison
compete
competition
competitive
complain
complaint
complete
completely
complex
complicate
complicated
computer
concentrate
concentration
concept
concern
concerned
concerning
concert
conclude
conclusion
concrete
condition
conduct
conference
confidence
confident
confidently
confine
confined
confirm
conflict
confront
confuse
confused
confusing
confusion
congratulations
congress
connect
connection
conscious
consequence
conservative
consider
considerable
considerably
consideration
consist
constant
constantly
construct
construction
consult
consumer
contact
contain
container
contemporary
content
contest
context
continent
continue
continuous
continuously
contract
contrast
contrasting
contribute
contribution
control
controlled
convenient
convention
conventional
conversation
convert
convince
cooker
cookie
cooking
corner
correct
correctly
cottage
cotton
cough
coughing
could
council
count
counter
country
countryside
county
couple
courage
course
court
cousin
cover
covered
covering
crack
cracked
craft
crash
crazy
cream
create
creature
credit
crime
criminal
crisis
crisp
criterion
critical
criticism
criticize
cross
crowd
crowded
crown
crucial
cruel
crush
cultural
culture
cupboard
curious
curiously
curly
current
currently
curtain
curve
curved
custom
customer
customs
cycle
cycling
daily
damage
dance
dancer
dancing
danger
dangerous
daughter
death
debate
decade
decay
decide
decision
declare
decline
decorate
decoration
decorative
decrease
deeply
defeat
defence
defend
define
definite
definitely
definition
degree
delay
deliberate
deliberately
delicate
delight
delighted
deliver
delivery
demand
demonstrate
dentist
department
departure
depend
deposit
depress
depressed
depressing
depth
derive
describe
description
desert
deserted
deserve
design
desire
desperate
desperately
despite
destroy
destruction
detail
detailed
determination
determine
determined
develop
development
device
devote
devoted
diagram
diamond
diary
dictionary
difference
different
differently
difficult
difficulty
dinner
direct
direction
directly
director
dirty
disabled
disadvantage
disagree
disagreement
disappear
disappoint
disappointed
disappointing
disappointment
disapproval
disapprove
disapproving
disaster
discipline
discount
discover
discovery
discuss
discussion
disease
disgust
disgusted
disgusting
dishonest
dishonestly
dislike
dismiss
display
dissolve
distance
distinguish
distribute
distribution
district
disturb
disturbing
divide
division
divorce
divorced
doctor
document
doing
dollar
domestic
dominate
double
doubt
downstairs
downward
downwards
dozen
draft
drama
dramatic
dramatically
drawer
drawing
dream
dress
dressed
drink
drive
driver
driving
drugstore
drunk
during
dying
early
earth
easily
eastern
economic
economy
edition
editor
educate
educated
education
effect
effective
effectively
efficient
efficiently
effort
either
elbow
elderly
elect
election
electric
electrical
electricity
electronic
elegant
element
elevator
elsewhere
email
embarrass
embarrassed
embarrassing
embarrassment
emerge
emergency
emotion
emotional
emotionally
emphasis
emphasize
empire
employ
employee
employer
employment
empty
enable
encounter
encourage
encouragement
ending
enemy
energy
engage
engaged
engine
engineer
engineering
enjoy
enjoyable
enjoyment
enormous
enough
enquiry
ensure
enter
entertain
entertainer
entertaining
entertainment
enthusiasm
enthusiastic
entire
entirely
entitle
entrance
entry
envelope
environment
environmental
equal
equally
equipment
equivalent
error
escape
especially
essay
essential
essentially
establish
estate
estimate
evening
event
eventually
every
everyone
everything
everywhere
evidence
exact
exactly
exaggerate
exaggerated
examination
examine
example
excellent
except
exception
exchange
excite
excited
excitement
exciting
exclamation
exclude
excluding
excuse
executive
exercise
exhibit
exhibition
exist
existence
expand
expect
expectation
expected
expense
expensive
experience
experienced
experiment
expert
explain
explanation
explode
explore
explosion
export
expose
express
expression
extend
extension
extensive
extent
extra
extraordinary
extreme
extremely
facility
factor
factory
failure
faint
faintly
fairly
faith
faithful
faithfully
false
familiar
family
famous
fancy
farmer
farming
farther
farthest
fashion
fashionable
fasten
father
faucet
fault
favour
favourite
feather
feature
federal
feeling
fellow
female
fence
festival
fetch
fever
field
fight
fighting
figure
final
finally
finance
financial
finely
finger
finish
finished
firmly
first
fishing
fixed
flame
flash
flavour
flesh
flight
float
flood
floor
flour
flower
flying
focus
folding
follow
following
football
force
forecast
foreign
forest
forever
forget
forgive
formal
formally
former
formerly
formula
fortune
forward
found
foundation
frame
freedom
freely
freeze
frequent
frequently
fresh
freshly
fridge
friend
friendly
friends
friendship
frighten
frightened
frightening
front
frozen
fruit
fully
function
fundamental
funeral
funny
furniture
further
furthest
future
gallon
gamble
gambling
garage
garbage
garden
gasoline
gather
general
generally
generate
generation
generous
generously
gentle
gentleman
gently
genuine
genuinely
geography
giant
girlfriend
glass
glasses
global
glove
going
goodbye
goods
govern
government
governor
grade
gradual
gradually
grain
grammar
grand
grandchild
granddaughter
grandfather
grandmother
grandparent
grandson
grant
grass
grateful
grave
great
greatly
green
groceries
grocery
ground
group
growth
guarantee
guard
guess
guest
guide
guilty
habit
hairdresser
hammer
handle
happen
happily
happiness
happy
hardly
harmful
harmless
hatred
headache
health
healthy
hearing
heart
heating
heaven
heavily
heavy
height
hello
helpful
hence
herself
hesitate
highlight
highly
highway
himself
historical
history
hobby
holiday
hollow
homework
honest
honestly
honour
horizontal
horror
horse
hospital
hotel
house
household
housing
however
human
humorous
humour
hungry
hunting
hurry
husband
ideal
ideally
identify
identity
ignore
illegal
illegally
illness
illustrate
image
imaginary
imagination
imagine
immediate
immediately
immoral
impact
impatient
impatiently
implication
imply
import
importance
important
importantly
impose
impossible
impress
impressed
impression
impressive
improve
improvement
inability
incident
include
including
income
increase
increasingly
indeed
indefinite
independence
independent
independently
index
indicate
indication
indirect
indirectly
individual
indoor
indoors
industrial
industry
inevitable
inevitably
infect
infected
infection
infectious
infinitive
influence
inform
informal
information
ingredient
initial
initially
initiative
injure
injured
injury
inner
innocent
inquiry
insect
insert
inside
insist
install
instance
instead
institute
institution
instruction
instrument
insult
insulting
insurance
intelligence
intelligent
intend
intended
intention
interest
interested
interesting
interior
internal
international
interpret
interpretation
interrupt
interruption
interval
interview
introduce
introduction
invent
invention
invest
investigate
investigation
investment
invitation
invite
involve
involved
involvement
irritate
irritated
irritating
island
issue
itself
jacket
jealous
jeans
jelly
jewellery
joint
jointly
journalist
journey
judge
judgement
judgment
juice
junior
justice
justified
justify
keyboard
killing
kilogram
kilometre
kindly
kindness
kitchen
knife
knitted
knitting
knock
knowledge
known
label
laboratory
labour
lacking
landscape
language
large
largely
later
latest
latter
laugh
launch
lawyer
layer
leader
leading
league
learn
least
leather
leave
lecture
legal
legally
lemon
length
lesson
letter
level
library
licence
license
light
lightly
likely
limit
limited
linking
liquid
listen
literature
litre
little
lively
living
local
locally
locate
located
location
logic
logical
lonely
loose
loosely
lorry
loudly
lovely
lover
loyal
lucky
luggage
lunch
machine
machinery
magazine
magic
mainly
maintain
major
majority
manage
management
manager
manner
manufacture
manufacturer
manufacturing
march
marker
market
marketing
marriage
married
marry
massive
master
match
matching
material
mathematics
maths
matter
maximum
maybe
mayor
meaning
means
meanwhile
measure
measurement
media
medical
medicine
medium
meeting
member
membership
memory
mental
mentally
mention
merely
message
metal
method
metre
midday
middle
midnight
might
military
milligram
millimetre
mineral
minimum
minister
ministry
minor
minority
minute
mirror
missing
mistake
mistaken
mixed
mixture
mobile
modal
model
modern
moment
money
monitor
month
moral
morally
moreover
morning
mostly
mother
motion
motor
motorcycle
mount
mountain
mouse
mouth
movement
movie
moving
multiply
murder
muscle
museum
music
musical
musician
myself
mysterious
mystery
naked
narrow
nation
national
natural
naturally
nature
nearby
nearly
neatly
necessarily
necessary
needle
negative
neighbour
neighbourhood
neither
nephew
nerve
nervous
nervously
network
never
nevertheless
newly
newspaper
nicely
niece
night
nobody
noise
noisily
noisy
nonsense
normal
normally
north
northern
nothing
notice
noticeable
novel
nowhere
nuclear
number
nurse
object
objective
observation
observe
obtain
obvious
obviously
occasion
occasionally
occupied
occupy
occur
ocean
oddly
offence
offend
offensive
offer
office
officer
official
officially
often
onion
opening
openly
operate
operation
opinion
opponent
opportunity
oppose
opposed
opposing
opposite
opposition
option
orange
order
ordinal
ordinary
organ
organization
organize
organized
origin
original
originally
other
otherwise
ought
ourselves
outdoor
outdoors
outer
outline
output
outside
outstanding
overall
overcome
owner
package
packaging
packet
painful
paint
painter
painting
palace
panel
pants
paper
parallel
parent
parliament
particular
particularly
partly
partner
partnership
party
passage
passenger
passing
passport
patience
patient
pattern
pause
payment
peace
peaceful
pence
pencil
penny
pension
people
pepper
perfect
perfectly
perform
performance
performer
perhaps
period
permanent
permanently
permission
permit
person
personal
personality
personally
persuade
petrol
phase
philosophy
phone
photo
photocopy
photograph
photographer
photography
phrase
physical
physically
physics
piano
picture
piece
pilot
pitch
place
plain
plane
planet
planning
plant
plastic
plate
platform
player
pleasant
pleasantly
please
pleased
pleasing
pleasure
plenty
pocket
poetry
point
pointed
poison
poisonous
police
policy
polish
polite
politely
political
politically
politician
politics
pollution
popular
population
position
positive
possess
possession
possibility
possible
possibly
potato
potential
potentially
pound
powder
power
powerful
practical
practically
practice
practise
praise
prayer
precise
precisely
predict
prefer
preference
prefix
pregnant
premises
preparation
prepare
prepared
presence
present
presentation
preserve
president
press
pressure
presumably
pretend
pretty
prevent
previous
previously
price
pride
priest
primarily
primary
prime
prince
princess
principle
print
printer
printing
prior
priority
prison
prisoner
private
privately
prize
probable
probably
problem
procedure
proceed
process
produce
producer
product
production
profession
professional
professor
profit
program
programme
progress
project
promise
promote
promotion
prompt
promptly
pronounce
pronunciation
proof
proper
properly
property
proportion
proposal
propose
prospect
protect
protection
protest
proud
proudly
prove
provide
provided
public
publication
publicity
publicly
publish
publishing
punch
punish
punishment
pupil
purchase
purely
purple
purpose
pursue
qualification
qualified
qualify
quality
quantity
quarter
queen
question
quick
quickly
quiet
quietly
quite
quote
racing
radio
railway
raise
range
rapid
rapidly
rarely
rather
reach
react
reaction
reader
reading
ready
realistic
reality
realize
really
reason
reasonable
reasonably
recall
receipt
receive
recent
recently
reception
reckon
recognition
recognize
recommend
record
recording
recover
reduce
reduction
refer
reference
reflect
reform
refrigerator
refusal
refuse
regard
regarding
region
regional
register
regret
regular
regularly
regulation
reject
relate
related
relation
relationship
relative
relatively
relax
relaxed
relaxing
release
relevant
relief
religion
religious
remain
remaining
remains
remark
remarkable
remarkably
remember
remind
remote
removal
remove
rented
repair
repeat
repeated
repeatedly
replace
reply
report
represent
representative
reproduce
reputation
request
require
requirement
rescue
research
reservation
reserve
resident
resist
resistance
resolve
resort
resource
respect
respond
response
responsibility
responsible
restaurant
restore
restrict
restricted
restriction
result
retain
retire
retired
retirement
return
reveal
reverse
review
revise
revision
revolution
reward
rhythm
rider
ridiculous
riding
right
rightly
rival
river
romantic
rough
roughly
round
rounded
route
routine
royal
rubber
rubbish
rudely
ruined
ruler
rumour
runner
running
rural
sadly
sadness
safely
safety
sailing
sailor
salad
salary
salty
sample
satisfaction
satisfied
satisfy
satisfying
sauce
saving
scale
scare
scared
scene
schedule
scheme
school
science
scientific
scientist
scissors
score
scratch
scream
screen
screw
search
season
second
secondary
secret
secretary
secretly
section
sector
secure
security
select
selection
senate
senator
senior
sense
sensible
sensitive
sentence
separate
separated
separately
separation
series
serious
seriously
servant
serve
service
session
settle
several
severe
severely
sewing
sexual
sexually
shade
shadow
shake
shall
shallow
shame
shape
shaped
share
sharp
sharply
shave
sheep
sheet
shelf
shell
shelter
shift
shine
shiny
shirt
shock
shocked
shocking
shoot
shooting
shopping
short
shortly
should
shoulder
shout
shower
sideways
sight
signal
signature
significant
significantly
silence
silent
silly
silver
similar
similarly
simple
simply
since
sincere
sincerely
singer
singing
single
sister
situation
skilful
skilfully
skill
skilled
skirt
sleep
sleeve
slice
slide
slight
slightly
slope
slowly
small
smart
smash
smell
smile
smoke
smoking
smooth
smoothly
snake
social
socially
society
softly
software
soldier
solid
solution
solve
somebody
somehow
something
sometimes
somewhat
somewhere
sorry
sound
source
south
southern
space
spare
speak
speaker
special
specialist
specially
specific
specifically
speech
speed
spell
spelling
spend
spice
spicy
spider
spirit
spiritual
spite
split
spoil
spoken
spoon
sport
spray
spread
spring
square
squeeze
stable
staff
stage
stair
stamp
stand
standard
stare
start
state
statement
station
statue
status
steadily
steady
steal
steam
steel
steep
steeply
steer
stick
sticky
stiff
stiffly
still
sting
stock
stomach
stone
store
storm
story
stove
straight
strain
strange
strangely
stranger
strategy
stream
street
strength
stress
stressed
stretch
strict
strictly
strike
striking
string
strip
stripe
striped
stroke
strong
strongly
structure
struggle
student
studio
study
stuff
stupid
style
subject
substance
substantial
substantially
substitute
succeed
success
successful
successfully
sudden
suddenly
suffer
suffering
sufficient
sufficiently
suffix
sugar
suggest
suggestion
suitable
suitcase
suited
summary
summer
superior
supermarket
supply
support
supporter
suppose
surely
surface
surname
surprise
surprised
surprising
surprisingly
surround
surrounding
surroundings
survey
survive
suspect
suspicion
suspicious
swallow
swear
swearing
sweat
sweater
sweep
sweet
swell
swelling
swimming
swing
switch
swollen
symbol
sympathetic
sympathy
system
table
tablet
tackle
target
taste
teach
teacher
teaching
technical
technique
technology
telephone
television
temperature
temporarily
temporary
tendency
tension
terrible
terribly
thank
thanks
theater
theatre
their
theirs
theme
themselves
theory
there
therefore
thick
thickly
thickness
thief
thing
think
thinking
thirsty
thorough
thoroughly
though
thought
thread
threat
threaten
threatening
throat
through
throughout
throw
thumb
ticket
tight
tightly
timetable
tired
tiring
title
today
together
toilet
tomato
tomorrow
tongue
tonight
tonne
tooth
topic
total
totally
touch
tough
tourist
toward
towards
towel
tower
trace
track
trade
trading
tradition
traditional
traditionally
traffic
train
training
transfer
transform
translate
translation
transparent
transport
travel
traveller
treat
treatment
trend
trial
triangle
trick
tropical
trouble
trousers
truck
truly
trust
truth
tunnel
twice
twist
twisted
typical
typically
ultimate
ultimately
umbrella
unable
unacceptable
uncertain
uncle
uncomfortable
unconscious
uncontrolled
under
underground
underneath
understand
understanding
underwater
underwear
unemployed
unemployment
unexpected
unexpectedly
unfair
unfairly
unfortunate
unfortunately
unfriendly
unhappiness
unhappy
uniform
unimportant
union
unique
unite
united
universe
university
unkind
unknown
unless
unlike
unlikely
unload
unlucky
unnecessary
unpleasant
unreasonable
unsteady
unsuccessful
untidy
until
unusual
unusually
unwilling
unwillingly
upper
upset
upsetting
upside
upstairs
upward
upwards
urban
urgent
useful
useless
usual
usually
vacation
valid
valley
valuable
value
variation
varied
variety
various
vegetable
vehicle
venture
version
vertical
victim
victory
video
village
violence
violent
violently
virtually
virus
visible
vision
visit
visitor
vital
vocabulary
voice
volume
waist
waiter
waitress
walking
wallet
wander
warmth
warning
washing
waste
watch
water
weakness
wealth
weapon
weather
website
wedding
weekend
weekly
weigh
weight
welcome
western
whatever
wheel
whenever
where
whereas
wherever
whether
which
while
whilst
whisper
whistle
white
whoever
whole
whose
widely
width
wildly
willing
willingly
willingness
window
winner
winning
winter
withdraw
within
without
witness
woman
wonder
wonderful
wooden
worker
working
world
worried
worry
worrying
worse
worship
worst
worth
would
wound
wounded
wrapping
wrist
write
writer
writing
written
wrong
wrongly
yellow
yesterday
young
yours
yourself
youth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment