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

Chris Angelico rosuav at
Tue Nov 13 21:53:21 CET 2012

On Wed, Nov 14, 2012 at 5:16 AM, emile <emile at> 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?


More information about the Python-list mailing list