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


Groups > comp.lang.python > #33263

Re: How to only get a list of the names of the non-directory files in current directory ('.')?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.031
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'subject:How': 0.09; 'subject:files': 0.09; '"python': 0.16; 'anymore': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'googling': 0.16; 'subject: \n ': 0.16; 'subject:non': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'question.': 0.20; 'header:In-Reply- To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'subject:list': 0.28; 'yields': 0.29; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'list': 0.35; 'nov': 0.35; 'received:209.85': 0.35; 'beyond': 0.37; 'level': 0.37; 'received:209': 0.37; 'well.': 0.37; 'subject:: ': 0.38; 'mean': 0.38; 'some': 0.38; 'sure': 0.38; 'to:addr:python.org': 0.39; 'google': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'information': 0.63; 'friend': 0.81; '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=0GeC4yy4691WoeSfs3K1U/oL8ZkspywzazLwrjStSv0=; b=XTTlQB8xhbU1J0PZj5SjXmLfYSbif/Gn8e0FxJPA9IXd+d1BkCUlMSz8mYYjX4CiDh NF5Lqk3gcHt/lGSDP0PPzRYOH6fzzEkyEYj8mb9r0aGyzn+jZxTRe5IBhNEX4He7nlj2 K8CLQt6UNmfRDaSa9v47PxBcS8C0/DKBZUF6wZ9yEQ9r3rtnADuP7hS+ReIOiIEH3Qwo pSlKLps/wxaHG5PeHh0mnhIJKZx7SWLB7USd0ZGZlwZAParYG1mqVl3x56CTAsULPfNL TDkU4wfKBWzntODl9yfhJBA7PHpGUOXY2uHss6M7O9Ps6tKGU/gLCDzSG6MmBrqKVLNz Rrtg==
MIME-Version 1.0
In-Reply-To <k7u2qc$2qi$1@ger.gmane.org>
References <d9b687d7-e982-4a7c-b1f9-ef38ec6ce183@googlegroups.com> <mailman.3310.1352179480.27098.python-list@python.org> <31a0765f-c366-4f19-8d6c-bc95e0e51265@googlegroups.com> <k7u2qc$2qi$1@ger.gmane.org>
Date Wed, 14 Nov 2012 07:53:21 +1100
Subject Re: How to only get a list of the names of the non-directory files in current directory ('.')?
From Chris Angelico <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3644.1352840005.27098.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1352840005 news.xs4all.nl 6862 [2001:888:2000:d::a6]:40316
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:33263

Show key headers only | View raw


On Wed, Nov 14, 2012 at 5:16 AM, emile <emile@fenx.com> wrote:
> BTW, googling for "python how to get a list of names of everything in the
> current directory" yields some good information as well.  Google is your
> friend for this level of question.  Not sure anymore beyond that...

It yields it? You mean Google is an iterator?

</troll>

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


Thread

How to only get a list of the names of the non-directory files in current directory ('.')? iMath <redstone-cold@163.com> - 2012-11-05 21:19 -0800
  Re: How to only get a list of the names of the non-directory files in current directory ('.')? Chris Angelico <rosuav@gmail.com> - 2012-11-06 16:24 +1100
    Re: How to only get a list of the names of the non-directory files in current directory ('.')? iMath <redstone-cold@163.com> - 2012-11-06 15:12 -0800
      RE: How to only get a list of the names of the non-directory files in current directory ('.')? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-11-06 23:41 +0000
      Re: How to only get a list of the names of the non-directory files in current directory ('.')? emile <emile@fenx.com> - 2012-11-13 10:16 -0800
      Re: How to only get a list of the names of the non-directory files in current directory ('.')? Chris Angelico <rosuav@gmail.com> - 2012-11-14 07:53 +1100
        Re: How to only get a list of the names of the non-directory files in current directory ('.')? John Gordon <gordon@panix.com> - 2012-11-13 21:05 +0000
          Re: How to only get a list of the names of the non-directory files in current directory ('.')? Chris Angelico <rosuav@gmail.com> - 2012-11-14 08:19 +1100
          Re: How to only get a list of the names of the non-directory files in current directory ('.')? emile <emile@fenx.com> - 2012-11-13 13:24 -0800
    Re: How to only get a list of the names of the non-directory files in current directory ('.')? iMath <redstone-cold@163.com> - 2012-11-06 15:12 -0800
      Re: How to only get a list of the names of the non-directory files in current directory ('.')? John Gordon <gordon@panix.com> - 2012-11-06 23:23 +0000

csiph-web