Skip to content

Instantly share code, notes, and snippets.

@MLLeKander
Created November 16, 2013 08:08
Show Gist options
  • Save MLLeKander/7497420 to your computer and use it in GitHub Desktop.
Save MLLeKander/7497420 to your computer and use it in GitHub Desktop.
In [1]: import sys
In [2]: for line in sys.stdin:
...: print line
...:
asdf
hello
world
asdf
hello
world
In [3]: for line in sys.stdin:
...: print line
...:
In [4]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment