Forum: Poser Python Scripting


Subject: Breaking a SimpleXMLRPCServer with a keystroke

FVerbaas opened this issue on Dec 10, 2020 ยท 40 posts


adp001 posted Thu, 10 December 2020 at 11:34 PM

@FVerbaas

You run the server inside of MD. But this server does blocking. If you want to change that: Check "async" and "non-blocking" in Python 3.

Here is something that may help: https://realpython.com/async-io-python/

There is a good chance you can't manage that while running an embedded script (one inside MD). You may try to let Poser do the the server part.