def main(): explorator.start() while True: explorator.loop()
def loop(): while True: explorator.loop()