[IPython-user] [newbie] Ipython variables in external functions?
yardbird
yardbird@nerdshack....
Mon May 7 08:04:50 CDT 2007
Thanks for your replies, Steven and Ville.
On lunedì 7 maggio 2007, you wrote:
> If by external script you mean a normal python script, you can't
> access the namespace of ipython from there because it's in different
> process. If you want to access ipython data, you must use normal
> python functions, %run etc. in the ipython process.
Basically I need to do in my own python module what I can do from the IPython
prompt by typing "who_ls mymodulename". I would also need to get some
attributes from the variables listed by that command. Is this possible at
all?
Thanks,
Francesco
More information about the IPython-user
mailing list