Last active
January 3, 2019 10:00
-
-
Save Elfsong/7d68c23372b87e8e81fec56f4bd62f93 to your computer and use it in GitHub Desktop.
Open a file #File #Open
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("FILE_NAME", MODE, encoding="utf-8") as file_fd: | |
for item in file_fd.readlines(): | |
print(item) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment