Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:How': 0.09; 'subject:files': 0.09; 'yeah,': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'generator.': 0.16; 'subject: \n ': 0.16; 'subject:non': 0.16; 'troll': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:list': 0.28; 'chris': 0.28; 'writes:': 0.29; 'yields': 0.29; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'nov': 0.35; 'received:209.85': 0.35; 'received:209': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'to:addr:python.org': 0.39; 'google': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'john': 0.60; 'subject:get': 0.81 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TDjLbzd4z7qLQ35XaISDDIzsxG+MPfXyD8NAmvrAuFQ=; b=ja18Thyi3aQ3lHP5ZQmjYLpJ8icjO6MvGx0q3hcL9s1pQs/D9G5rfRQGnSXDZmt1tZ VomHUd7FEfecgJSg/WzTKFp9kIxmC+EobDsqn1Iw+Uz+0UEbIhI1NgpVF+ktF0IkNjYQ Ka/FQ9FUK3FX63qBT02ws+0sibjEMMhjbhtrRm1XtdVkRD7eQA/aowX80hMlBp6by37I jWJSO5g9c8DZIA5jzIsNd5n2PlxJNkA3PjqPY7HA2fBZ53osPddyF0H3PeeaXsooGkO4 nHIp+8BMAD49cOnZD5EirrusdwvBW75J+6mHPGcOayeQBArllQBPFzhQFiOjBFvvDVAX Unjg== MIME-Version: 1.0 In-Reply-To: References: <31a0765f-c366-4f19-8d6c-bc95e0e51265@googlegroups.com> Date: Wed, 14 Nov 2012 08:19:13 +1100 Subject: Re: How to only get a list of the names of the non-directory files in current directory ('.')? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1352841557 news.xs4all.nl 6957 [2001:888:2000:d::a6]:49795 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33266 On Wed, Nov 14, 2012 at 8:05 AM, John Gordon wrote: > In Chris Angelico writes: > >> It yields it? You mean Google is an iterator? > > ITYM generator. Yeah, that thing. Troll fail. *whoops* ChrisA