Python Interactive Shell - outputting to stdout?

Steve Holden steve at holdenweb.com
Mon Dec 27 07:48:50 EST 2004


Avi Berkovich wrote:

> Hey,
> 
> I can't make it work, I don't get any data from either stdout nor stderr.
> If I send lines and then close the stdin pipe, I may get an exception 
> message from several lines up.
> 
> I tried manually reading from the stdout pipe, but it just blocks and 
> hangs no matter what I send over via the stdin pipe.
> 
> This behavior isn't presented by the command line interpreter by any 
> chance.
> 
> Any suggestions?

Yes: post your code along with messages (if any)!

regards
  Steve
-- 
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119



More information about the Python-list mailing list