def parcours(self): print(...) for f in ...: ...