We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11cadef commit 43b6c11Copy full SHA for 43b6c11
large_files_reading.py
@@ -0,0 +1,4 @@
1
+with open("new_project.txt", "r" , encoding="utf-8") as file: # replace "largefile.text" with your actual file name or with absoulte path
2
+# encoding = "utf-8" is especially used when the file contains special characters....
3
+ for f in file:
4
+ print(f.strip())
0 commit comments