Forum: Poser Python Scripting


Subject: Experience with communication between different instances of Python anyone?

FVerbaas opened this issue on Oct 28, 2017 ยท 28 posts


tromnek posted Tue, 05 December 2017 at 10:22 PM

The Tkinter works but it is non-re-entrant. So you can't run two tkinter programs at the same time.

I think Poser 11's library is tkinter based because it hangs until you exit PRPCd.

I have code in PRPCd to handle multiple tkinter instances, but you need to run PRPCd before any other tkinter program. I think Poser 11's library is tkinter and thus it runs first and things to work well.

I was thinking to rewrite my prpcd to use wxPython which works much better. But it's a lot of work to rewrite everything. Don't know when I'll get the time.