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


Groups > comp.lang.python > #95201

Re: Pipes

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'elif': 0.04; 'classes.': 0.07; 'obsolete': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'roger': 0.09; 'python': 0.10; 'systems.': 0.11; '2.7': 0.13; 'question.': 0.13; 'def': 0.13; 'things.': 0.15; 'lambda': 0.16; 'pipes': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'so!': 0.16; 'structure.': 0.16; 'wrote:': 0.16; '2015': 0.20; "aren't": 0.22; 'exec': 0.22; 'libraries': 0.22; 'pipe': 0.22; 'pass': 0.22; 'am,': 0.23; 'thanks,': 0.24; 'import': 0.24; 'unix': 0.24; 'header:In-Reply- To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.26; 'yield': 0.27; 'indentation': 0.29; 'pointer.': 0.29; 'raise': 0.29; 'print': 0.30; 'another': 0.32; '[1]': 0.32; 'language.': 0.32; 'class': 0.33; 'url:python': 0.33; 'usually': 0.33; 'except': 0.34; 'level': 0.35; 'but': 0.36; 'should': 0.36; 'url:org': 0.36; 'possible': 0.36; 'url:library': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'received:org': 0.37; 'things': 0.38; 'easily': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'still': 0.40; 'called': 0.40; 'easy': 0.60; 'your': 0.60; 'skip:u 10': 0.61; 'email addr:gmail.com': 0.62; 'charset:windows-1252': 0.62; 'information': 0.63; 'attention.': 0.66; 'finally': 0.70; 'url:htm': 0.75; 'august': 0.75; 'received:12': 0.81; 'old,': 0.83; 'enforced': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Emile van Sebille <emile@fenx.com>
Subject Re: Pipes
Date Sun, 9 Aug 2015 11:51:44 -0700
References <d6a3dfe4-8389-463b-ac66-a93f14a91a5e@googlegroups.com> <3bf7a462-2c70-4e53-bfc6-86b5acb9f5f8@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host www.westernstatesglass.com
User-Agent Mozilla/5.0 (Windows NT 6.2; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
In-Reply-To <3bf7a462-2c70-4e53-bfc6-86b5acb9f5f8@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15.1439146325.3627.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1439146325 news.xs4all.nl 2883 [2001:888:2000:d::a6]:34670
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95201

Show key headers only | View raw


On 8/9/2015 10:55 AM, rogerh906@gmail.com wrote:
> On Sunday, August 9, 2015 at 8:11:18 AM UTC-6, roge...@gmail.com wrote:
>> Just learning Python and have a question.
>>
>> Is it possible for Python to pass information to another program
 >>(in Windows), wait for that program to finish and then resume operating?
>>
>> It's called a pipe in Unix systems.
>>
>> Thanks,
>>
>> Roger
>
> Nevermind, I found it. Thanks for the pointer. But WOW! Python is described
 > as an easy to learn language. I don't think so!

Well, 2.7 only has 31 keywords most of which are easily understood[1], 
as is the enforced indentation structure.  Also, pipes and interprocess 
communications aren't usually CS101 level classes.  The libraries are 
where things get interesting and where you should focus your attention.

https://docs.python.org/2/library/ is the official docs, but effbot's 
guide, while old, is not entirely obsolete and still provides a nice 
overview of things.  See http://effbot.org/zone/librarybook-index.htm

Emile


[1]
and       del       from      not       while
as        elif      global    or        with
assert    else      if        pass      yield
break     except    import    print
class     exec      in        raise
continue  finally   is        return
def       for       lambda    try

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


Thread

Pipes rogerh906@gmail.com - 2015-08-09 07:10 -0700
  Re: Pipes Ian Kelly <ian.g.kelly@gmail.com> - 2015-08-09 11:13 -0600
  Re: Pipes rogerh906@gmail.com - 2015-08-09 10:39 -0700
    Re: Pipes Ian Kelly <ian.g.kelly@gmail.com> - 2015-08-09 11:52 -0600
    Re: Pipes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-09 19:34 +0100
  Re: Pipes rogerh906@gmail.com - 2015-08-09 10:55 -0700
    Re: Pipes Emile van Sebille <emile@fenx.com> - 2015-08-09 11:51 -0700
    Re: Pipes alister <alister.nospam.ware@ntlworld.com> - 2015-08-09 18:55 +0000
    Re: Pipes Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-08-09 16:43 -0400
    Re: Pipes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-09 22:18 +0100
    Re: Pipes Cameron Simpson <cs@zip.com.au> - 2015-08-10 08:27 +1000
    RE: Pipes "Clayton Kirkwood" <crk@godblessthe.us> - 2015-08-09 17:44 -0700
    Re: Pipes Chris Angelico <rosuav@gmail.com> - 2015-08-10 20:50 +1000
    Re: Pipes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-10 14:44 +0100
      Re: Pipes rogerh906@gmail.com - 2015-08-10 07:05 -0700
        Re: Pipes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-10 15:36 +0100
  Re: Pipes Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-08-09 14:17 -0400
  Re: Pipes "E.D.G." <edgrsprj@ix.netcom.com> - 2015-08-10 15:43 -0500
    Re: Pipes Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-08-10 22:59 +0100
    Re: Pipes Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-08-10 18:41 -0400
    Re: Pipes Larry Hudson <orgnut@yahoo.com> - 2015-08-10 21:48 -0700
    Re: Pipes Laura Creighton <lac@openend.se> - 2015-08-11 11:07 +0200
    Re: Pipes Laura Creighton <lac@openend.se> - 2015-08-11 11:58 +0200
    Re: Pipes Tim Golden <mail@timgolden.me.uk> - 2015-08-11 11:15 +0100

csiph-web