[Tutor] PyGTK: is there a library for both Linux and Windows

Chris Fuller cfuller084 at thinkingplanet.net
Wed Oct 21 16:43:26 CEST 2009

on differences:

The downloads include binaries, so there have to be distinct files for Linux 
and Windoze.  If you download the same versions, there shouldn't be any 
noticeable differences, with one big exception:  multithreading and PyGTK 
don't mix well on Windows.  Your application might run perfectly (and look 
correct) on Linux, but in Windoze it's a mess.  You can find workarounds, but 
I haven't come across one that looked reliable.  If you have Python 2.6 or 
higher, you can use the multiprocessing module (also available separately for 
earlier versions) to emulate threads with processes, which will relieve the 
problem, but make it a little harder for your threads (processes) to 
communicate with each other.


More information about the Tutor mailing list