-
-
Save griiid/0bc89d3acd7aee2654dec8ebfe4c9ceb 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('/path/to/some/file/you/want/to/read') as file_1, \ | |
open('/path/to/some/file/being/written', 'w') as file_2: | |
file_2.write(file_1.read()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment