markov.py
def parse(filename, encoding=None):
    """
    !DEMO!
    Simple file parsing generator

    Args:
        filename: absolute or relative path to file on disk
        encoding: encoding string that is passed to open function
    """

    with open(filename, encoding=encoding) as source:
        for line in source:
            for word in line.split():
                yield word
def parse(filename, encoding=None):
    with open(filename, encoding=encoding) as source:
        for line in source:
            for word in line.split():
                yield word
def parse ( filename , encoding = None ) : with open ( filename , encoding = encoding ) as source : for line in source : for word in line . split ( ) : yield word
!DEMO!
    Simple file parsing generator

    Args:
        filename: absolute or relative path to file on disk
        encoding: encoding string that is passed to open function
!DEMO! Simple file parsing generator