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: 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 Subject: Re: Pipes Date: Sun, 9 Aug 2015 11:51:44 -0700 References: <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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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