I wrote this small application in Python that will create paragraphs of fictitious text like this site , except that it will work offline. Right now you must provide a sufficiently long text file (currently I use books from Project Gutenberg) that it will call open () and then read () to get the start line for the operation, but what prevent me from just including the whole text file into a program, like a variable? i.e
lorem_ipsum = """
***full text of De finibus bonorum et malorum***
***no seriously***
***yeah...***
"""
Are there any flaws in this regard or reading them from a separate text file?
source
share