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

class WriteStream:
    """
    Base class for writing data.
    """
    def __init__(self, source_data, destination=None):
        self.source_data = source_data
        self.destination = destination
    
    def write(self):
        raise NotImplementedError('Subclass must implement `write` method')

write_stream_instance = WriteStream('some_source_data', 'sample_output_file.txt')

write_stream_instance.write()