Python Scope Not Working In Windows Project