3 def nicepass(alpha=6,numeric=2):
5 returns a human-readble password (say rol86din instead of
6 a difficult to remember K8Yn9muL )
10 vowels = ['a','e','i','o','u']
11 consonants = [a for a in string.ascii_lowercase if a not in vowels]
12 digits = string.digits
18 randid = random.randint(0,20) #number of consonants
19 ret += consonants[randid]
21 randid = random.randint(0,4) #number of vowels
28 randid = random.randint(0,9) #number of digits
34 fpl = int(alpha/2) + 1
41 return "%s%s%s" % (start,mid,end)
43 if __name__ == "__main__":