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

John Gordon gordon at panix.com
Tue Nov 13 16:05:48 EST 2012


In <mailman.3644.1352840005.27098.python-list at python.org> Chris Angelico <rosuav at gmail.com> 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 panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"




More information about the Python-list mailing list