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

Chris Angelico rosuav at gmail.com
Tue Nov 13 22:19:13 CET 2012


On Wed, Nov 14, 2012 at 8:05 AM, John Gordon <gordon at panix.com> wrote:
> 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.

Yeah, that thing.

Troll fail.

*whoops*

ChrisA


More information about the Python-list mailing list