Input and Output, Python Software Foundation, 2024 - This official documentation explains file objects, the open() function with various modes, and different methods for reading file content, including efficient iteration.
Fluent Python, 2nd Edition, Luciano Ramalho, 2022 (O'Reilly Media) - Offers detailed coverage of Pythonic file handling, context managers for robust I/O, and file system operations, suitable for those seeking a deeper understanding.