flatpickles/nonsense
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Nonsense Generator Matt Nichols March, 2012 nongen.py is a simple script to fetch a webpage and generate a "poetic" composition by randomly assembling words on that page. Variables "source", "lines", and "words" can be specified to allow user control over the target webpage, the number of lines generated, and the approximate words per line. nonsense_server.py is a simple Flask/Tornado server to interface with nongen.py The nonsense website provides a frontend to the server.