Created
July 21, 2015 18:48
-
-
Save f6v/b41fe846eb9963499994 to your computer and use it in GitHub Desktop.
How to read file in Python
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
#http://stackoverflow.com/a/8010133/468311 | |
with open(...) as f: | |
for line in f: | |
<do something with line> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment