Created
April 24, 2020 20:48
-
-
Save ZhouYang1993/247cd9dd3d04a407addbe359eb9abe32 to your computer and use it in GitHub Desktop.
File Handling in Python
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('test.txt', 'w') as f: | |
| f.write('Hello, world!') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment