Test for an empty directory that could be very large if it is not empty?
Tim Chase
python.list at tim.thechases.com
Thu Aug 7 08:05:21 EDT 2014
On 2014-08-07 07:54, Roy Smith wrote:
> I wonder if glob.iglob('*') might help here?
My glob.iglob() uses os.listdir() behind the scenes (see glob1() in
glob.py)
-tkc
More information about the Python-list
mailing list