On Thu, 17 Dec 2015 14:03:25 +0100, Siegfried Kaiser wrote: > I have a problem with os.walk - it does not walk into a mounted cdrom, I > do not see the cdrom in the walk at all. > What can I do to walk into cdrom?
1. Are you sure that the directory tree contains the actual mount point, not just a symlink to it? os.walk() doesn't follow symlinks unless followlinks=True is given explicitly. 2. Have you tried using the onerror= parameter to report errors? The default is to silently ignore errors from os.listdir(). -- https://mail.python.org/mailman/listinfo/python-list