Provide a -run option for interactive use
Bug #458228 reported by
Eero Aaltonen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
This is a feature proposal for using ipython -pylab
I'm doing scientific analysis and I would like to start pylab with my dataset definitions and scripts loaded to the interactive namespace. I've put my dataset definitions in definitions.py
Running
ipython -pylab definitions.py
will execute everything, but my definitions do not show up with %who
Running
ipython -pylab -c "%run defs.py"
will execute the interpreter.
I propose that either
ipython -pylab definitions.py
is altered such that the definitions are listed in %who
or that you add a -run option, so that the effect can be achieved by executing
ipython -pylab -run definitions.py
To post a comment you must log in.
Running
ipython -pylab -c "%run defs.py"
will *exit* the interpreter.
damn typo