Path: csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'sys': 0.05; 'python': 0.09; 'file-like': 0.09; 'objects.': 0.09; 'pointers': 0.09; 'stderr': 0.09; 'subject:module': 0.09; 'windows,': 0.09; 'advance': 0.10; 'curses': 0.16; 'message-id:@4ax.com': 0.16; 'prakash': 0.16; 'stream.': 0.16; 'sure.': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'tests': 0.18; 'module': 0.19; 'all,': 0.21; 'programming': 0.23; 'command': 0.24; 'header:In-Reply-To:1': 0.25; 'module.': 0.27; 'start,': 0.27; 'subject:/': 0.28; 'awake': 0.29; 'though.': 0.29; "i'm": 0.29; 'to:addr:python-list': 0.33; 'that,': 0.34; 'thanks': 0.34; 'there': 0.35; 'received:org': 0.36; 'charset:us-ascii': 0.36; 'beyond': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'gives': 0.39; 'to:addr:python.org': 0.39; 'amazing': 0.61; 'more': 0.63 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cleverpun.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:In-Reply-To:References:Message-ID:Date:Subject:To:From; bh=xbm3/DIz/JYD+UCjY5OxBXMkcjzhx8kDNx8oIkyYvIM=; b=KD9/Xf2VxvMFK2BvFL2azvDFEgj0r27fnGh+JT8K98buZ4K3RiG5aUJsFFRwj31yVEJy2+5ekC3flbROI9pVqmQclZHlk5/ZFU4rZe1q3VOsvN6M/U8y5s91TVohkx1z; From: Temia Eszteri To: comp.lang.python Subject: Re: cmd i/o stream module Date: Wed, 27 Jun 2012 11:17:04 -0700 References: In-Reply-To: X-Mailer: Forte Agent 4.0/32.1071 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.holeinthewallhosting.org X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - cleverpun.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1340824135 news.xs4all.nl 6952 [2001:888:2000:d::a6]:39086 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24534 [Default] On Wed, 27 Jun 2012 18:37:52 +0530, prakash jp 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 --=20 The amazing programming device: fuelled entirely by coffee, it codes = while awake and tests while asleep!