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.
Stay tuned! Bonus features for this video are under development...
Our Python Tutorials will help you learn Python quickly and thoroughly. We start with "Hello World" and then move on to data structures (sets, lists, tuples and dictionaries). Next we'll cover classes, and give a variety of in-depth examples and applications.