Python os.pied + suivre les liens symboliques

Comment puis-je obtenir ce morceau de suivre les liens symboliques de la version 2.6 de python?

def load_recursive(self, path):
    for subdir, dirs, files in os.walk(path):
        for file in files:
            if file.endswith('.xml'):
                file_path = os.path.join(subdir, file)
                try:
                    do_stuff(file_path) 
                except:
                    continue
InformationsquelleAutor F. Malina | 2010-09-22