Skip to content

Instantly share code, notes, and snippets.

@ZhouYang1993
Created April 24, 2020 19:54
Show Gist options
  • Save ZhouYang1993/e774e63c016eb458b9e3d74e1a6ae085 to your computer and use it in GitHub Desktop.
Save ZhouYang1993/e774e63c016eb458b9e3d74e1a6ae085 to your computer and use it in GitHub Desktop.
File Handling in Python
with open('test_file.txt', 'r') as f:
print(f.read())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment