You need to re post with working indentation.
Do a test before you post all code,
as you see in code under 4-space for indentation(PEP-8)
Do a test before you post all code,
as you see in code under 4-space for indentation(PEP-8)
def foo(): pass if __name__ == '__main__': foo()