[IPython-dev] Brand new refactored version for linux users!

Laurent Dufréchou laurent.dufrechou@gmail....
Fri Jan 11 07:38:19 CST 2008


> _ip.create_menu_item('Kill current process", kill_current_process).
Yeah I see ,interesting, and where does 'kill_current_process' comes from?
It would have been defined in the ipython instance or it is something
plugged into the GUI?

Has I said before I'm not really used to do advcanced ipython scripting. So
if you can for example write me a 10 lines
example of a complete session where you define kill_current_process that I
could test in ipython shell, I will be able to add it to the GUI.



-----Message d'origine-----
De : Ville M. Vainio [mailto:vivainio@gmail.com] 
Envoyé : vendredi 11 janvier 2008 14:11
À : Laurent Dufrechou
Cc : Laurent Dufrechou; IPython-dev@scipy.org
Objet : Re: [IPython-dev] Brand new refactored version for linux users!

On Jan 11, 2008 12:43 AM, Laurent Dufrechou <laurent.dufrechou@free.fr>
wrote:

> Do you think it could be usefull for you an app more polished like idle?

Yes, I can definitely see it could be useful.

Here is a feature suggestion:

Have an "IPython" menu.

Provide a way to create menu items and hook them to callables. I'm
thinking of something like:

_ip.create_menu_item('Kill current process", kill_current_process).

This would be VERY useful.

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'



More information about the IPython-dev mailing list