Skip to content

Videos: Files and Paths

Back to concept


Best single video

  • Text Files in Python by Socratica (~7 min) A concise, polished explanation of reading and writing text files in Python using open(), read(), write(), and the with statement. Socratica's classroom-style presentation makes file I/O feel approachable for beginners. https://www.youtube.com/watch?v=4mX0uPQFLDU

Alternative explanations

  • CSV Files in Python by Socratica (~6 min) Extends file I/O concepts to CSV files using Python's built-in csv module. A natural next step after understanding basic text file operations, and relevant for data-oriented projects. https://www.youtube.com/watch?v=Xi52tx6phRU

  • Python Tutorial for Beginners - Full Course by Mosh Hamedani (~6 hrs full course) Mosh covers file handling in his full beginner course, including reading, writing, and working with file paths. Use video chapters to jump to the file I/O section. His explanations are clear and assume no prior knowledge. https://www.youtube.com/watch?v=_uQrJ0TkZlc

Deep dives

  • Learn Python - Full Course for Beginners by freeCodeCamp (~4.5 hrs) The freeCodeCamp course includes file operations in the context of building real programs, which helps you see how file I/O fits into practical Python workflows rather than isolated examples. https://www.youtube.com/watch?v=rfscVS0vtbw

Interactive practice


Last verified: 2026-02-25. If a link is broken, please open an issue.