Calling a definition
gagsl-py at yahoo.com.ar
Thu Oct 19 21:34:12 CEST 2006
At Thursday 19/10/2006 15:43, elake wrote:
>I have a piece of code that I need some help with. It is supposed (in
>my mind at least) take two arguments, a start path and a file
>extension. Then when called it should return each of the file paths
>that are found matching the criteria. It is only returning the first
>file that it finds. What am I doing wrong?
Someone else has shown how to make your code work. But notice that
you don't even need the findFileExt function: see the glob module.
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
More information about the Python-list