os.listdir & os.stat fail on windows zipdrive

Albert Wagner alwagner at tcac.net
Fri Apr 21 02:22:43 CEST 2000


What is peculiar about zipdrives on windows that would cause
os.listdir(dir) and/or os.stat(dir) to fail?  The following method works
on Linux and on Windows with a harddrive dir, but fails on windows when
dir is a zipdrive(e.g. D:\), resulting in no valid files or directories
being found.  
-- 
Small is Beautiful



More information about the Python-list mailing list