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


Groups > comp.lang.python > #95209

Re: Pipes

Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <cameron@cskk.homeip.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.017
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'defines': 0.07; 'cc:addr :python-list': 0.09; 'brackets': 0.09; 'lost.': 0.09; 'index': 0.13; 'packages.': 0.15; 'clayton': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'listed,': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'simpson': 0.16; 'still,': 0.16; 'wrote:': 0.16; 'module,': 0.18; 'language': 0.19; 'load': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**1': 0.22; '3.x': 0.22; 'cheers,': 0.22; 'cc:no real name:2**0': 0.22; 'seems': 0.23; 'tried': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; 'function': 0.28; 'loop,': 0.29; 'sure,': 0.29; 'there.': 0.30; 'especially': 0.32; 'generally': 0.32; 'maybe': 0.33; 'url:python': 0.33; '2006': 0.33; 'definition': 0.34; 'worked': 0.34; 'lists': 0.34; 'list': 0.34; 'gives': 0.35; 'skip:> 10': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'modules': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'method': 0.37; 'charset:us-ascii': 0.37; 'mark': 0.40; 'still': 0.40; 'some': 0.40; 'url:3': 0.60; 'information,': 0.61; 'here:': 0.63; 'cameron': 0.66; 'results.': 0.67; 'received:61': 0.72; "'if": 0.84; '>you': 0.84; 'cc:addr:ix.netcom.com': 0.84; 'ref': 0.84; 'sorry.': 0.91; 'lot,': 0.95
X-Authentication-Info Submitted using ID cskk@bigpond.com
X-Authority-Analysis v=2.0 cv=RsdH3VaK c=1 sm=1 a=Z4AtTLLfMEXXOearNG2QLg==:17 a=vrnE16BAAAAA:8 a=ZtCCktOnAAAA:8 a=yEdEr6MRgwAA:10 a=uRRa74qj2VoA:10 a=8AHkEIZyAAAA:8 a=_rgG4MMEDJ8fx35286QA:9 a=CjuIK1q_8ugA:10 a=VDwZ3NpeepwA:10 a=1CpA-2ffltgA:10 a=Z4AtTLLfMEXXOearNG2QLg==:117
Date Mon, 10 Aug 2015 11:09:30 +1000
From Cameron Simpson <cs@zip.com.au>
To Clayton Kirkwood <crk@godblessthe.us>
Cc 'Dennis Lee Bieber' <wlfraed@ix.netcom.com>, python-list@python.org
Subject Re: Pipes
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii; format=flowed
Content-Disposition inline
In-Reply-To <048e01d0d305$ca953e20$5fbfba60$@godblessthe.us>
User-Agent Mutt/1.5.23 (2014-03-12)
References <048e01d0d305$ca953e20$5fbfba60$@godblessthe.us>
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.21.1439168990.3627.python-list@python.org> (permalink)
Lines 41
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1439168990 news.xs4all.nl 2882 [2001:888:2000:d::a6]:59807
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95209

Show key headers only | View raw


On 09Aug2015 17:44, Clayton Kirkwood <crk@godblessthe.us> wrote:
>But there is nothing non-cryptic and orderly that I have found that lists
>out various modules and packages. If you know the module, it generally gives
>most of the information, but if you don't know the module name or function
>capability, you're lost.

Mark has already mentioned these:

  https://docs.python.org/3/py-modindex.html
  https://docs.python.org/3/genindex.html

I use the index a lot, especially if I have a (probable) method name.

>It would be nice to have a 'if you want to do this,
>look at these packages'.

There is also a search here:

  https://docs.python.org/3/

which has some utility. Note you need to wait for it to load the results.

I just tried searching for "pipe". Admittedly "subprocess.PIPE" is the very 
last thing listed, but still, it is there.

>You have a language ref that defines the basics but
>gives very little insight. Take list comprehension. As described in the
>language ref and given tutotial, you get maybe a paragraph of what it is,
>but there was no definition of what the brackets were for or how the
>comprehension worked and maybe you get one or two examples, but you're still
>left with what is it.

It is like a for loop, but you know that by now.

>Is there an up to date book on 3.x even. Every book seems to be from 2006 or
>so.

Not sure, sorry.

Cheers,
Cameron Simpson <cs@zip.com.au>

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


Thread

Re: Pipes Cameron Simpson <cs@zip.com.au> - 2015-08-10 11:09 +1000

csiph-web