Python language basics 84: starting with file I/O
March 5, 2016 Leave a comment
Introduction
In the previous post we finished discussing the basics of object inheritance in Python. We saw an example where the Dog and a Duck classes inherited from an abstract base class called Animal. All common functionality was encapsulated within the Animal class. Dog and Duck retained the code specific to them.
In this post we’ll start looking into something very different: file input and output.