[IPython-user] question of shell invocation and also windows and wthread
danny shevitz
danny_shevitz at yahoo.com
Mon Dec 11 13:21:22 CST 2006
When I tried this originally, the first thing I tried was to just duplicate the desktop icon.
I tried to pass the wthread flag, but could not get it to work. The first thing I tried was to
modify the shortcut so it passed the wthread flag.
In other words, I tried to make the shortcut
D:\Enthought\python.exe "C:\Program Files\IPython\IPython_shell.py " "-wthread"
but this didn't work. Probably I did something wrong.
I also tried passing wthread as an argument (modifying the .py file)
something like:
IPython.Shell.start("wthread").mainloop()
regardless. the only thing I ever got to work was
IPython.Shell.IPShellWX().mainloop()
but this had the depricated wxPython stuff (which is easily correctible and
Fernando has already done so).
So all this is a long winded way of saying I was never able to get a command
line invocation working on windows using a switch (-wthread) as opposed to
a hardcode (IPShellWX).
I'm curious to know if anyone can get a command line switch variant working.
D
----- Original Message ----
From: Ville M. Vainio <vivainio at gmail.com>
To: Fernando Perez <fperez.net at gmail.com>
Cc: danny shevitz <danny_shevitz at yahoo.com>; ipython-user at scipy.net
Sent: Monday, December 11, 2006 11:59:59 AM
Subject: Re: [IPython-user] question of shell invocation
On 12/11/06, Fernando Perez <fperez.net at gmail.com> wrote:
> If you installed it from the win32 .exe installer, it should have made
> a shortcut for the main IPython script in your start menu. You can (I
> think, I'm writing this from a linux box) copy that shortcut with
> another name and edit its properties so that it passes the -wthread
> flag.
>
> Let me know if this doesn't work and I'll try to do a win32 test to
> give you more precise instructions in a day or two.
Or, one can just get ipython.py from here (or the source distribution)
and run it:
http://ipython.scipy.org/svn/ipython/ipython/trunk/ipython.py
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
More information about the IPython-user
mailing list