Skip to content

Instantly share code, notes, and snippets.

@saruba
Forked from pydanny/file.py
Created April 5, 2014 10:21
Show Gist options
  • Save saruba/9990035 to your computer and use it in GitHub Desktop.
Save saruba/9990035 to your computer and use it in GitHub Desktop.
with open("filename") as f:
newfile = f.read()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment