cmd i/o stream module

Temia Eszteri lamialily at
Wed Jun 27 20:17:04 CEST 2012

[Default] On Wed, 27 Jun 2012 18:37:52 +0530, prakash jp
<prakash.stack at> wrote:

>Hi All,
>I am interested to interact with the command prompt, is there a module to
>control the input/output stream. Thanks in advance for the pointers

Well, from the start, the sys module gives access to the stdin,
stdout, and stderr as file-like objects. I also know that Unix Python
users can make use of the curses module. Beyond that, I'm not sure.

I'm sure someone more experienced can chip in with specific
functionality in Windows, though.

The amazing programming device: fuelled entirely by coffee, it codes while
awake and tests while asleep!

More information about the Python-list mailing list