Looking for os.listdir() generator

Christian Heimes lists at cheimes.de
Thu Jul 23 08:37:07 EDT 2009


Hello,

I'm looking for a generator version of os.listdir() for Python 2.5 and
newer. I know somebody has worked on it because I've seen a generator
version in a posting on some list or blog a while ago. I can't find it
anymore. It seems my Google fu is lacking today. All I can find is a
very old version of xlistdir. A Cython based solution is appreciated but
please no ctypes version.

Christian




More information about the Python-list mailing list