Created
January 5, 2017 23:31
-
-
Save benrules2/685d107743d4b1cd2353858b05a80e67 to your computer and use it in GitHub Desktop.
File output containing message
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 write_file(filename, message): | |
| with open(filename, "w") as file: | |
| file.write(message) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment