Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24534

Re: cmd i/o stream module

From Temia Eszteri <lamialily@cleverpun.com>
Subject Re: cmd i/o stream module
Date 2012-06-27 11:17 -0700
References <CAJyBqUfwk-KgkocVaKn_Ao6qGKC=m7mdErPvvFGZWtjbbLVsHg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1560.1340824135.4697.python-list@python.org> (permalink)

Show all headers | View raw


[Default] On Wed, 27 Jun 2012 18:37:52 +0530, prakash jp
<prakash.stack@gmail.com> 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
>
>Thanks
>Prakash

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.

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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: cmd i/o stream module Temia Eszteri <lamialily@cleverpun.com> - 2012-06-27 11:17 -0700

csiph-web