Created
August 11, 2016 21:04
-
-
Save jamesls/cd02f21a2dff7729ef3963ab7e46481c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python3 -c 'import sys; print("Seekable:", sys.stdin.seekable())' | |
Seekable: True | |
$ echo hello | python3 -c 'import sys; print("Seekable:", sys.stdin.seekable())' | |
Seekable: False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment