ipython and enthought

View: New views
8 Messages — Rating Filter:   Alert me  

ipython and enthought

by Benjamin Racine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

is it possible to call ipython from within wing (instead of python).

further can anyone comment on their success or failure using the
enthought tool suite, ETS?

many thanks,

ben r.
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: ipython and enthought

by Wingware Support :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benjamin Racine wrote:
> is it possible to call ipython from within wing (instead of python).

It's not possible to set ipython as the Python Executable.  I've played
a bit with it in the OS Commands tool where 'ipython -colors NoColor'
works passably (but not particularly well) on Linux at least.

> further can anyone comment on their success or failure using the
> enthought tool suite, ETS?

Sorry, I don't have direct experience with this myself.

--

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: ipython and enthought

by Bartosz SKOWRON-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Jul 11, 2008 at 11:02 PM, Wingware Support <support@...> wrote:

>> is it possible to call ipython from within wing (instead of python).
> It's not possible to set ipython as the Python Executable.  I've played
> a bit with it in the OS Commands tool where 'ipython -colors NoColor'
> works passably (but not particularly well) on Linux at least.

Would you write a bit more about why ipython doesn't work within wing?
It's really strange for me..

bs.
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: ipython and enthought

by Wingware Support :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bartosz SKOWRON wrote:
> On Fri, Jul 11, 2008 at 11:02 PM, Wingware Support <support@...> wrote:
>> is it possible to call ipython from within wing (instead of python).
>> It's not possible to set ipython as the Python Executable.  I've played
>> a bit with it in the OS Commands tool where 'ipython -colors NoColor'
>> works passably (but not particularly well) on Linux at least.
>
> Would you write a bit more about why ipython doesn't work within wing?
> It's really strange for me..

Wing's shells are based on the debugger.  They are using the debugger
internals to implement the shell, rather than trying to do terminal
emulation w/ an instance of Python or ipython or whatever.  This is
done this way for a number of reasons, including the need to keep
the debug code in a separate process, and the need for internal
messages to be sent back and forth for auto-completion and calltips
in Wing's GUI.

The OS Commands tools tries to do terminal emulation but ipython uses
more terminal control characters than we've been able to support so far.

At some point I saw that ipython had hooks designed for integrating it
but we haven't tried to use those and I don't really know how well
that would work.

BTW, it would be useful to know what features of ipython you would like
to see in Wing's shells.

Thanks,

--

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: ipython and enthought

by Bartosz SKOWRON-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jul 14, 2008 at 2:53 AM, Wingware Support <support@...> wrote:

> BTW, it would be useful to know what features of ipython you would like
> to see in Wing's shells.

? and color syntax for me
_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: ipython and enthought

by Benjamin Racine :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

sh commands like...

cd
ls
pwd

something like ipython's hist

Further, it would also be great if after a debugging session the
ipython (like) session retained the runtime variables for debugging.

Lastly, tab completion and introspection are lovely.

I could go on, but this accounts for a huge percentage of my needs.

Ben R.


>>> Wingware Support <support@...> 7/13/2008 5:53 PM >>>
Bartosz SKOWRON wrote:
> On Fri, Jul 11, 2008 at 11:02 PM, Wingware Support
<support@...> wrote:
>> is it possible to call ipython from within wing (instead of
python).
>> It's not possible to set ipython as the Python Executable.  I've
played
>> a bit with it in the OS Commands tool where 'ipython -colors
NoColor'
>> works passably (but not particularly well) on Linux at least.
>
> Would you write a bit more about why ipython doesn't work within
wing?
> It's really strange for me..

Wing's shells are based on the debugger.  They are using the debugger
internals to implement the shell, rather than trying to do terminal
emulation w/ an instance of Python or ipython or whatever.  This is
done this way for a number of reasons, including the need to keep
the debug code in a separate process, and the need for internal
messages to be sent back and forth for auto-completion and calltips
in Wing's GUI.

The OS Commands tools tries to do terminal emulation but ipython uses
more terminal control characters than we've been able to support so
far.

At some point I saw that ipython had hooks designed for integrating it
but we haven't tried to use those and I don't really know how well
that would work.

BTW, it would be useful to know what features of ipython you would
like
to see in Wing's shells.

Thanks,

--

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

RE: ipython and enthought

by Jonathan Mozes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

These (tab completion, hist, etc.) are features that also exist (at
least on UNIX based machines) in the default python shell. I believe a
feature request for these features already exists, although with no
known release date (March 07 mail attached).

I, for one, will be ecstatic to have these features integrated into the
python shell and the debugger tool.

Jon


-----Original Message-----
From: wingide-users-bounces@...
[mailto:wingide-users-bounces@...] On Behalf Of Benjamin Racine

Sent: Monday, July 14, 2008 20:35
To: Wingware Support; wingide-users@...
Subject: Re: [wingide-users] ipython and enthought

Hello,

sh commands like...

cd
ls
pwd

something like ipython's hist

Further, it would also be great if after a debugging session the
ipython (like) session retained the runtime variables for debugging.

Lastly, tab completion and introspection are lovely.

I could go on, but this accounts for a huge percentage of my needs.

Ben R.


>>> Wingware Support <support@...> 7/13/2008 5:53 PM >>>
Bartosz SKOWRON wrote:
> On Fri, Jul 11, 2008 at 11:02 PM, Wingware Support
<support@...> wrote:
>> is it possible to call ipython from within wing (instead of
python).
>> It's not possible to set ipython as the Python Executable.  I've
played
>> a bit with it in the OS Commands tool where 'ipython -colors
NoColor'
>> works passably (but not particularly well) on Linux at least.
>
> Would you write a bit more about why ipython doesn't work within
wing?
> It's really strange for me..

Wing's shells are based on the debugger.  They are using the debugger
internals to implement the shell, rather than trying to do terminal
emulation w/ an instance of Python or ipython or whatever.  This is
done this way for a number of reasons, including the need to keep
the debug code in a separate process, and the need for internal
messages to be sent back and forth for auto-completion and calltips
in Wing's GUI.

The OS Commands tools tries to do terminal emulation but ipython uses
more terminal control characters than we've been able to support so
far.

At some point I saw that ipython had hooks designed for integrating it
but we haven't tried to use those and I don't really know how well
that would work.

BTW, it would be useful to know what features of ipython you would
like
to see in Wing's shells.

Thanks,

--

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Jonathan Mozes wrote:
> Is there any way to have the history browser of the built-in python
> shell complete only command that start with the command I started writing?

That and general searching of history (not just leading fragment) are
now both on our list of planned features, but without defined time frame
at this point.

Thanks,

--

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com


_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide

Re: ipython and enthought

by Wingware Support :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Benjamin Racine wrote:
> Further, it would also be great if after a debugging session the
> ipython (like) session retained the runtime variables for debugging.

If you set a breakpoint on the last line, the Debug Probe should
provide this and so will Evaluate * in Python Shell for the outer
scope.

> Lastly, tab completion and introspection are lovely.

These should already be there in the Python Shell and Debug Probe
(tho Wing 101 doesn't have any auto-completion).

I've noted your other requests for future work.

Thanks!

--

Stephan Deibel
Wingware | Python IDE
Advancing Software Development

www.wingware.com

_________________________________________________
Wing IDE users list
http://wingware.com/lists/wingide
LightInTheBox - Buy quality products at wholesale price