Hello Roy,

"ipython splot.py 09_03_23_11_44_54.stats.tas"

works, but I can't make it work with pylab switch. It executes my script, however whos list an empty namespace :(

My aim of loading the variables and results into an interactive pylab enabled workspace is to be able to continue working on the same data and if necessary make some manipulations like adding titles, labels, legends, changing scales depends on a person's need.

According to IPython documentation it is also possible to make IPython as the default python environment. (http://ipython.scipy.org/doc/nightly/html/interactive/reference.html#ipython-as-your-default-python-environment) And again no way of starting with pylab ("there is no way to pass IPython any command-line options")

Any other ideas?

Btw, I haven't seen a blue star lately :)

Gökhan


On Sun, May 17, 2009 at 7:07 AM, Roy Hyunjin Han <starsareblueandfaraway@gmail.com> wrote:
On Sat, May 16, 2009 at 4:34 PM, Gökhan SEVER <gokhansever@gmail.com> wrote:
>>> However I still couldn't figure out how to drop in ipython from the bash shell call
>>> while all my variable context visible in the ipython namespace.


Gökhan,

Have you tried the following?

RHH


$ ipython splot.py 09_03_23_11_44_54.stats.tas
Python 2.5.2 (r252:60911, Sep 30 2008, 15:41:38)
Type "copyright", "credits" or "license" for more information.

IPython 0.8.4 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object'. ?object also works, ?? prints more.

In [1]: skiprows
Out[1]: 30