In the previous chapter, we learned how to create real-world objects in Python using classes. We learned how everything was an object in Python. Then, we learned how to create classes in Python and use those classes to create similar objects without writing too many lines of code.
In this chapter, let’s look at file handling in Python. We’ll look at creating, reading, writing, and manipulating the files in your system right from inside your Python code.
Why files?
I can hear you groaning. Yet another boring ...