[SciPy-user] pycrust

Howey, David A d.howey at imperial.ac.uk
Wed Jul 13 10:07:47 CDT 2005


Thanks - this is helpful.

I am trying to get ipython to use an editor other than windows notepad.
First I tried editing the 'ipythonrc' file. Didn't have any affect -
still uses notepad. Then I tried a command line:
 ipython -editor C:\Program Files\Crimson Editor\cedt.exe 

It doesn't like that. I think it's something to do with the spaces in
the path. Should I use \%20 ?
Anyone else got this sorted on a win32 system?

Thanks

Dave

-----Original Message-----
From: scipy-user-bounces at scipy.net [mailto:scipy-user-bounces at scipy.net]
On Behalf Of Ryan Krauss
Sent: 13 July 2005 16:03
To: SciPy Users List
Subject: Re: [SciPy-user] pycrust

As long as you use the TkAgg backend, I was able to use matplotlib and
scipy with pycrust:
import pylab
from scipy import *
x=arange(0,1,0.1)
y=sin(2*pi*x)
pylab.plot(x,y)
pylab.show()

The only catch is that once you show() your plots, you have to close
them all before you can do anything else in the command window (because
gui_thread doesn't work).

While pycrust and its variants form a nice environment, the editor
associated with them is pretty plain and the history mechanism isn't
persistant (i.e. it doesn't remember commands after you close it and
restart it).

Ryan



More information about the SciPy-user mailing list