The print statements in the body of the if __name__ == '__main__': in parse.py are incompatible with modern Python versions.