Hello folks, I'd like to run a pyglet window/etc in a background thread in the context of an interactive interpreter, so that the interpreter isn't tied up. (I'm writing a microscope-control program, and basically, I want to blit images from the microscope camera to a pyglet window [with live brightness/contrast controls], while actually driving the microscope via interpreted, or eventually scripted, command sessions.)
I know IPython has provisions for this sort of thing with Tkinter and WXPython, and I think that sympy has some code for doing this with pyglet. Before I go about digging through that, does anyone know of some basic example code for this sort of thing, general tips, or know whether it's even possible or worth going about? Sorry if this is a total newbie question, asked and answered elsewhere, but I'm not finding a lot about this particular topic, and my naive attempts to just run an event-handler loop in a separate python thread from the interpreter fail pretty spectacularly for reasons I more or less fail to understand... Thanks, Zach --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
