embedded python question

Just just at xs4all.nl
Wed Jul 24 09:49:16 EDT 2002


In article <3D3EADD1.4020400 at ntlworld.nospam.com>,
 "Keith S." <keith_s at ntlworld.nospam.com> wrote:

> Alex Martelli wrote:
> 
> > QLineEdit handles (and returns) a single line, right?  Therefore, how
> > can you use it to input a multi-line command?
> 
> True, although you can do this in the Python interactive
> shell, so I presume there *is* a way of doing it.
> 
> > Why not use a multiline editing widget instead?
> 
> Because I'd really like it to work just like the interactive
> shell if possible...

Have a look at code.py in the std library.

Just



More information about the Python-list mailing list