[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] my naive interactive pygame



Lee Harr wrote:
I found a way to make the pygame screen refresh during an interactive
session using a thread.  This is probably horribly broken in some way,
but it works for me  :o)
tricky. i was just playing with pygtk and noticed they have a special 'pygtk' interactive python interpreter. this is just like the normal python interpreter, but it runs the GUI in a background thread.

this way the gui works as expected, i'm sure the same sort of solution could work for pygame too. in fact i wonder if pygame would already work inside this pygtk shell?