I\'m trying to read in the following text from the command-line in Python 3 (copied verbatim, newlines and all):
lcbeika rraobmlo grmfina ontccep emrlin tsei
if you are passing the text into your script as a file , you can use readlines()
readlines()
eg
data=open("file").readlines()
or you can use fileinput
fileinput
import fileinput for line in fileinput.input(): print line