diff --git a/large_files_reading.py b/large_files_reading.py new file mode 100644 index 00000000000..a5ce0936f8a --- /dev/null +++ b/large_files_reading.py @@ -0,0 +1,4 @@ +with open("new_project.txt", "r" , encoding="utf-8") as file: # replace "largefile.text" with your actual file name or with absoulte path +# encoding = "utf-8" is especially used when the file contains special characters.... + for f in file: + print(f.strip())