Created
March 5, 2015 01:00
-
-
Save supr/1cecb65f4cf9c4f0c854 to your computer and use it in GitHub Desktop.
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
with open('/my/log.log', 'w') as f: | |
f.write("Hello World") | |
f = open('/my/log', 'w') | |
f.write("1") | |
f.write("2") | |
f.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment