from World import * from RemoteObject import * class RemoteTurtleWorld(TurtleWorld, RemoteObject): def __init__(self): TurtleWorld.__init__(self) RemoteObject.__init__(self) def quit(self): self.stopLoop() self.join() World.quit(self) def run_message(self, message): self.inter.run_code(message, '') def main(script, name='bob'): watcher = Watcher() world = RemoteTurtleWorld() ns = NameServer() world.connect(ns, name) world.threadLoop() world.mainloop() if __name__ == '__main__': main(*sys.argv)