Created
January 5, 2017 23:13
-
-
Save benrules2/36f725642d52ca36c3a3995c2870a20c to your computer and use it in GitHub Desktop.
Read input 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 read_file(filename): | |
| with open(filename, "r") as file: | |
| contents = file.read().replace('\n\n',' ') | |
| return contents |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment