[SciPy-user] python/scipy as matlab, using ipython

Edin Salković edin.salkovic at gmail.com
Fri Sep 15 05:22:56 CDT 2006


Have you tried editing the file python.properties in the scite's
installatio dir?

I'm refering to this part of the file:

if PLAT_WIN
	command.go.*.py=python -u "$(FileNameExt)"
	command.go.subsystem.*.py=0
	command.go.*.pyw=pythonw -u "$(FileNameExt)"
	command.go.subsystem.*.pyw=1
	command.build.SConscript=scons.bat --up .
	command.build.SConstruct=scons.bat .

if PLAT_GTK
	command.go.*.py=python -u $(FileNameExt)
	command.build.SConscript=scons --up .
	command.build.SConstruct=scons .

You can probably set:
command.go.*.py=python -u $(FileNameExt)
to
command.go.*.py=ipython -i $(FileNameExt)

HTH,
Edin

On 9/15/06, Johannes Loehnert <a.u.r.e.l.i.a.n at gmx.net> wrote:
> On Friday 15 September 2006 09:33, Lars Friedrich wrote:
> > Hello scipy users,
> >
> > for a short time now, I am using python, numpy and scipy as a
> > replacement for matlab. My setup at the moment is the "scite"-editor and
> > the "ipython"-shell. I am happy using the "run -i" command to access the
> > current workspace with my scripts written with scite.
> >
> > There is one feature that I know from matlab that I miss a little. Maybe
> > its not crucial but it would be nice to have:
> >
> > When I made a change to my script in scite, I have to
> > *save it
> > *change scope to ipython
> > *recall the "run -i myScript.py" command
> > *press <enter>
> >
> > In matlab it is possible to hit <F5> to get the same effect. How can I
> > achieve this with scite/ipython? I think, I need a way to tell ipython
> > "from extern" to execute the "run"-command. I would put this to my
> > scite-config-file to connect it with, say, the <F5> button and would be
> > fine. Is this possible?
> >
> > Thanks for every comment
>
> If you use KDE, maybe KHotKeys (under KControl -> Region and Accessibility)
> will be of use. It is quite powerful and can simulate arbitrary keyboard
> input. However I do not know if it is possible to activate a particular
> window using keyboard.
>
> Johannes
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-user mailing list