[IPython-user] new user question
Fernando Perez
fperez.net@gmail....
Tue Jun 3 17:24:23 CDT 2008
On Thu, Mar 27, 2008 at 3:52 PM, Alex Gillet <gillet@scripps.edu> wrote:
> Thanks for the answer.
> I am not trying to run my code interactively but use a script to do so.
> Ipython test.py
This works correctly in current ipython. You may also want to keep in
mind that a more common workflow in ipython is:
1. start ipython with whavever options you like
ipython -your-flags...
2. Run your scripts with
run yourcode.py
3. Edit your scripts.
4. Goto 2.
This way, the output of your script isn't conflated with the ipython
initialization. I just find the above a bit more natural, but it's
just a suggestion. What you reported does also work, if you prefer
that approach.
regards,
f
More information about the IPython-user
mailing list