![](https://secure.gravatar.com/avatar/f71f5b898ff50fe74a20646643b50795.jpg?s=120&d=mm&r=g)
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@scipy.net [mailto:scipy-user-bounces@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
![](https://secure.gravatar.com/avatar/4dabc91d1db962b0d8cd632c4e0f37ae.jpg?s=120&d=mm&r=g)
Add C:\Program Files\Crimson Editor to your windows path variable and then set the line in ipythonrc.ini to read editor cedt I just tried it and it worked. Howey, David A wrote:
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@scipy.net [mailto:scipy-user-bounces@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
_______________________________________________ SciPy-user mailing list SciPy-user@scipy.net http://www.scipy.net/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/5a7d8a4d756bb1f1b2ea729a7e5dcbce.jpg?s=120&d=mm&r=g)
Howey, David A wrote:
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?
You probably need to quote that line: ipython -editor "C:\Program Files\Crimson Editor\cedt.exe" Same for editing the ipythonrc file, try with quotes around the name. And yes, the problem is most likely the spaces in the filenames (that causes no end of grief for many tools, not just ipython). Cheers, f
participants (3)
-
Fernando Perez
-
Howey, David A
-
Ryan Krauss