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

John Gordon gordon at
Tue Nov 13 22:05:48 CET 2012

In <mailman.3644.1352840005.27098.python-list at> Chris Angelico <rosuav at> writes:

> It yields it? You mean Google is an iterator?

ITYM generator.

John Gordon                   A is for Amy, who fell down the stairs
gordon at              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

More information about the Python-list mailing list