Message86418
I just ran into this using os.path.walk. I noticed it wouldn't find
files inside a particular directory. In debugging, I found that the
name of the directory was 'BBDO Atlanta ' os.path.walk would find the
directory, but wouldn't enter it. I added a check inside my CallBack
function:
if file[-1:] == ' ' and os.path.isdir(file):
os.path.walk(file,CallBack,None)
and the script now traverses into the directory. |
|
Date |
User |
Action |
Args |
2009-04-24 17:36:35 | linuxelf | set | recipients:
+ linuxelf |
2009-04-24 17:36:35 | linuxelf | set | messageid: <1240594595.2.0.684236338423.issue5832@psf.upfronthosting.co.za> |
2009-04-24 17:36:33 | linuxelf | link | issue5832 messages |
2009-04-24 17:36:33 | linuxelf | create | |
|