Created
August 2, 2018 23:14
-
-
Save musoftware/476b839acb156a9403c0918cbee1b2ec to your computer and use it in GitHub Desktop.
Open File
This file contains hidden or 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
| def file_get_contents(filename): | |
| with open(filename) as f: | |
| content = f.read() | |
| f.close() | |
| return content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment