os.listdir & os.stat fail on windows zipdrive

Albert Wagner alwagner at tcac.net
Thu Apr 20 20:22:43 EDT 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