469,304 Members | 2,018 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,304 developers. It's quick & easy.

Interactive Python

Hello,

I use Python for interactive data analysis, coming recently from Matlab.
One thing I am missing is a variable browser. The problem with vars() is
that it lists everything loaded in the session. Try using the excellent
matplotlib package and you'll see my dilemma.

Could another namespace could be added on the python search path, one
that only held variables created by the user (as opposed to imported by
modules)? Or does something like this already exist? This might make it
easier to save interactive sessions, by pickling the user-namespace.

Darren
Jul 18 '05 #1
1 1611
Darren Dale wrote:
Hello,

I use Python for interactive data analysis, coming recently from Matlab.
One thing I am missing is a variable browser. The problem with vars() is
that it lists everything loaded in the session. Try using the excellent
matplotlib package and you'll see my dilemma.

Could another namespace could be added on the python search path, one
that only held variables created by the user (as opposed to imported by
modules)? Or does something like this already exist? This might make it
easier to save interactive sessions, by pickling the user-namespace.


Try ipython (http://ipython.scipy.org), it has a 'who'/'whos' set of commands to
help with this. If you are interested, mail me directly at fperez AT colorado
DOT edu, and I can send you an ipython profile specifically for use with
matplotlib, using the TkAgg backend.

This weekend I'll try to find some time to work on a multithreaded version so
one can use matplotlib with the wx/gtk backends.

ipython was written _specifically_ to make the interactive, code testing and
data analysis type of work which is the bread and butter of scientific
computing, as efficient as possible. So let me now (best if done on the
mailing lists) of any potential improvments.

Cheers,

f

ps. word of warning if you use Windows: there's apparently an incompatibility
between ctypes 0.9 and UNC readline. If you use Windows and want to try out
ipython, try to use ctypes 0.6 or so.
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Avi Berkovich | last post: by
20 posts views Thread by Joe | last post: by
2 posts views Thread by Charles Krug | last post: by
3 posts views Thread by qwweeeit | last post: by
1 post views Thread by cm012b5105 | last post: by
2 posts views Thread by Adam Blinkinsop | last post: by
3 posts views Thread by R. Bernstein | last post: by
8 posts views Thread by james.kirin39 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.