Forum: Poser Python Scripting


Subject: more on: Running multiple Tkinter scripts.

tromnek opened this issue on Jan 21, 2005 ยท 12 posts


tromnek posted Fri, 21 January 2005 at 5:55 PM

The main thing to watch out for are foreign scripts where the main function performs some kind of cleanup after it's regular 'mainloop()'. This is because the hijacked mainloop() returns immediately. So scripts should do all their cleanup in their class, not in main.

There are also the standard issues of global() pollution.
This can have some disasterous effects when scripts are running at the same time.