Created
September 29, 2020 22:30
-
-
Save anna-anisienia/7420ff6f358e53b91b7b70c9be8f1fce to your computer and use it in GitHub Desktop.
This file contains 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
myfile = open('data.txt', 'w') | |
myfile.write('Hello from context manager!') | |
myfile.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment