From: Guy K. K. <g....@ma...> - 2009-12-23 01:20:05
|
On Wed, 23 Dec 2009 09:49:07 Venkat Ramanan wrote: > I installed VIDLE and that works for me as well. I don't know if I can > fix the issues with ipython, but I'll try. If one looks at the documentation/tutorials for matplotlib (-pylab), Mayavi (- wthread), ... one finds that for ipython you need to start it with an extra parameter (the ones mentioned in parens above). The problem being that for GUI tools in order to function within the same process there's an event loop. But an interactive shell is somewhat of an event loop in itself. So some de- coupling needs to be done to integrate the two event loop concepts with each other. ipython provides that through the switches. I'd imagine that this was also one of the motivations to provide VIDLE over plain IDLE, although I've never used IDLE myself. Maybe one of the provided ipython switches would also help with VPython, or another one would need to be created to make them interact nicely. Definitely sounds like something that could be quite useful ... Guy -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |