[IPython-dev] shell command for ipython1 frontend

Laurent Dufréchou laurent.dufrechou at gmail.com
Mon Sep 8 19:02:54 EDT 2008


In [2]: raw_input("toto")
toto
Out[2]: u''

In [3]:

> -----Message d'origine-----
> De : Gael Varoquaux [mailto:gael.varoquaux at normalesup.org]
> Envoyé : mardi 9 septembre 2008 01:00
> À : Laurent Dufréchou
> Cc : 'IPython Development list'
> Objet : Re: shell command for ipython1 frontend
> 
> On Tue, Sep 09, 2008 at 12:54:09AM +0200, Laurent Dufréchou wrote:
> > C:\Users\ldufrechou\Desktop\Ipython-dev\gael\ipython-sync-
> frontend\IPython\f
> > rontend\wx>bzr log -r -3
> > ------------------------------------------------------------
> > revno: 1134
> > committer: gvaroquaux <gvaroquaux at gvaroquaux-desktop>
> > branch nick: ipython-frontend
> > timestamp: Mon 2008-09-08 14:38:39 -0500
> > message:
> >   Apply the same hack used for raw_input to system calls.
> 
> Darn!!! I don't get it. I don't understand why I can't repoduce your
> bug.
> 
> > ...
> > Perhaps we could do some print >>sys.__stdout__,"" ????
> 
> 
> Maybe, but that's going to be tedious. Especially since all the output
> gets captured during command execution. So you actually tend not to
> have
> any debug output.
> 
> Could you pull again from my brnach (no need to redo a develop) and try
> running something with a raw_input, eg "raw_input()".
> 
> Cheers,
> 
> Gaël




More information about the IPython-dev mailing list