Skip to content

Instantly share code, notes, and snippets.

@charlesreid1
Created February 3, 2016 01:01
Show Gist options
  • Save charlesreid1/0a0ae5f1c192513d9eb6 to your computer and use it in GitHub Desktop.
Save charlesreid1/0a0ae5f1c192513d9eb6 to your computer and use it in GitHub Desktop.
Reading a File in Python: Two-Liner
with open('us-500.csv') as f:
lines = f.readlines()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment