From: proteanthread on 17 Apr 2010 00:22 not a password creator but one that can generate usable words or short phrases?
From: Roger Hunt on 17 Apr 2010 06:45 proteanthread <rtdos(a)rtdos.com> wrote >not a password creator but one that can generate usable words or short >phrases? Camel umbrella hatstand and crocus fish - under Norbert rinse. -- Roger Hunt
From: Cousin Stanley on 17 Apr 2010 10:58 > not a password creator but one that can generate usable words > or short phrases? If the following types of word lists will suffice, I have a small python program that randomly selects the words from a standard list that is supplied in linux .... The input file, total number of words generated, and number of words per line can all be easily changed in the first few lines of the program .... $ python random_words.py ampullula Sorbus rewrite oversell nontreatment carbonemia liquidness arsnicker strauchten accompt chlorometric gemmation ultramontanist huamuchil loggat pregenerous nonpunctuation possumwood prunetol reimpart semidirect pseudoscopic rectogenital acicular fogger tamarisk costochondral querulousness preallude retirer ultraurgent irrigatorial nurser disulphate phanerosis octapody atropaceous unguicular argyria paronomasia Atka congressional Clepsine palestrian archengineer Diphylleia beggarman batholite akmudar bloodstroke Number of Words .... 50 $ python random_words.py cradle exhaustiveness entrepreneurial supersphenoidal microdentous Eriophorum lifeday fitout undergore stereoplasmic matlockite thermokinematics subwealthy misenforce loaferish drawshave syllabi imposableness antiphonally overgirded pontificate satiability thanker sofa wobbler competence emulant interstice tetrasubstituted polderboy ruinator vinquish nondivinity Origanum overfellowly noncongratulatory nondialectal endocarpoid froze physiform araneology enorganic scopola piki dinitrobenzene goldenness retravel iridious Tiberian scragged Number of Words .... 50 -- Stanley C. Kitching Human Being Phoenix, Arizona
From: proteanthread on 17 Apr 2010 14:59 On Apr 17, 7:58 am, Cousin Stanley <cousinstan...(a)gmail.com> wrote: > > not a password creator but one that can generate usable words > > or short phrases? > > If the following types of word lists will suffice, > I have a small python program that randomly selects > the words from a standard list that is supplied > in linux .... > > The input file, total number of words generated, > and number of words per line can all be easily changed > in the first few lines of the program .... > > $ python random_words.py > > ampullula Sorbus rewrite oversell nontreatment > carbonemia liquidness arsnicker strauchten accompt > chlorometric gemmation ultramontanist huamuchil loggat > pregenerous nonpunctuation possumwood prunetol reimpart > semidirect pseudoscopic rectogenital acicular fogger > tamarisk costochondral querulousness preallude retirer > ultraurgent irrigatorial nurser disulphate phanerosis > octapody atropaceous unguicular argyria paronomasia > Atka congressional Clepsine palestrian archengineer > Diphylleia beggarman batholite akmudar bloodstroke > > Number of Words .... 50 > > $ python random_words.py > > cradle exhaustiveness entrepreneurial supersphenoidal microdentous > Eriophorum lifeday fitout undergore stereoplasmic > matlockite thermokinematics subwealthy misenforce loaferish > drawshave syllabi imposableness antiphonally overgirded > pontificate satiability thanker sofa wobbler > competence emulant interstice tetrasubstituted polderboy > ruinator vinquish nondivinity Origanum overfellowly > noncongratulatory nondialectal endocarpoid froze physiform > araneology enorganic scopola piki dinitrobenzene > goldenness retravel iridious Tiberian scragged > > Number of Words .... 50 > > -- > Stanley C. Kitching > Human Being > Phoenix, Arizona I never thought of using python this way, i'll give it a try, thanks stan.
From: Cousin Stanley on 17 Apr 2010 15:19 > I never thought of using python this way, > i'll give it a try, thanks stan. #!/usr/bin/env python ''' Create a random word list Code_By ...... Stanley C. Kitching Code_Date .... 2010-01-17 ''' import random nwords = 50 # sample size nwpl = 5 # number words per line fin = open( '/usr/share/dict/words' ) # input file list_words = [ ] for this_word in fin : list_words.append( this_word.strip() ) fin.close() sample = random.sample( list_words , nwords ) print '\n ' , wnum = 0 for this_word in sample : if wnum == nwpl : print '\n ' , wnum = 0 print this_word , wnum += 1 print '\n\n Number of Words ....' , len( sample ) # --------------------------------------------------------------- The input file /usr/share/dict/words is just a list of words 1 word per line .... change path as needed .... If you don't have a word list to use as an input file let me know .... -- Stanley C. Kitching Human Being Phoenix, Arizona
|
Next
|
Last
Pages: 1 2 Prev: .MP3 to .AAC converter sought Next: QT Lite & QuickTime Alternative 3.2.2 |