Reading and writing text files is an essential programming skill. Python gives you a simple and powerful tool for working with text files: the open function. This lets you open a wide variety of files – both text or binary – in many different modes (read, write and append). Today we will show you how to read and write text files, and show you several ways to accomplish each task.
We’d like to recognize our VIP Patrons who sponsored this video on Patreon! Our sincere thanks to Birds Eat Bees, Andrew Mengede, Markie Waid, and Carlos Araujo. Your generous donation helps make these videos happen!
To learn Python, you can watch our playlist from the beginning: https://www.youtube.com/watch?v=bY6m6_IIN94&list=PLi01XoE8jYohWFPpC17Z-wWhPOSuh8Er-
To help us continue making videos, you can support Socratica at:
Socratica Paypal: https://www.paypal.me/socratica
We also accept Bitcoin! 🙂
Our address is: 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9
If you’d like a reference book, we recommend “Python Cookbook, 3rd Edition” from O’Reilly:
The Mythical Man Month – Essays on Software Engineering & Project Management
You can also follow Socratica on:
- Twitter: @socratica
- Instagram: @SocraticaStudios
- Facebook: @SocraticaStudios
Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison (@mlh496 on Twitter)