I\'ve searched and I can only find questions about the other way around: writing stdin to a file :)
Is there a quick and easy way to dump the contents of a file to s
You can try this.
txt = txt_opn = open(txt) print txt_opn.read()
This will give you file output.