human
I am working on the file "December 12, 2016/Covered in class.ipynb".
The first task is:
Using Read Streams
Can you write Python program for it?

Write me a the Python program you requested?
assistant
#Here is the Python program you requested.

class ReadStream:
    """
    Base class for reading data.
    """
    def __init__(self, source=None):
        self.source = source
    
    def read(self):
        raise NotImplementedError('The sub class must implement the `read` method')
    
    def print_read(self):
        print(self.read())

read_stream_instance = ReadStream('some data')

read_stream_instance.print_read()