Thank you. This is extremely helpful. The key that I was missing is that
it's running them outside of the ipy context. I also discovered that if you
call the script .ipy instead of .py, it actually does more or less what I
was expecting -- that is, it allows magic commands, and I got the thing
work
On 3 October 2013 18:42, wrote:
> I have some rather complex code that works perfectly well if I paste it in by
> hand to ipython, but if I use %run it can't find some of the libraries, but
> others it can. The confusion seems to have to do with mathplotlib. I get it
> in stream by:
>
>%py
On 03/10/2013 20:26, Terry Reedy wrote:
On 10/3/2013 1:42 PM, jshra...@gmail.com wrote:
I have some rather complex code that works perfectly well if I paste
it in by hand to ipython, but if I use %run it can't find some of the
libraries, but others it can.
Ipython is a separate product built o
On 10/3/2013 1:42 PM, jshra...@gmail.com wrote:
I have some rather complex code that works perfectly well if I paste it in by
hand to ipython, but if I use %run it can't find some of the libraries, but
others it can.
Ipython is a separate product built on top of Python. If no answer here,
lo
I have some rather complex code that works perfectly well if I paste it in by
hand to ipython, but if I use %run it can't find some of the libraries, but
others it can. The confusion seems to have to do with mathplotlib. I get it in
stream by:
%pylab osx
and do a bunch of stuff interactivel