Is there any easy way to handle multiple lines user input in command-line Python application?
I was looking for an answer without any result, becaus
Use :
input = raw_input("Enter text")
These gets in input as a string all the input. So if you paste a whole text, all of it will be in the input variable.
input
EDIT: Apparently, this works only with Python Shell on Windows.