Created
July 7, 2021 11:21
-
-
Save raresteak/0be81732236ba14673df455e7e28c582 to your computer and use it in GitHub Desktop.
Opening a file with 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(path/to/file) as file: | |
for line in file: print(line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment