Calling a definition

elake ericlake at gmail.com
Thu Oct 19 15:42:56 EDT 2006


Thanks for all of the help guys. I am still new to Python so this is
part of the learning curve I guess. I will look at the glob module and
see if that will do what I need to better.

On Oct 19, 3:34 pm, Gabriel Genellina <gagsl... at yahoo.com.ar> wrote:
> 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.
>
> --
> Gabriel Genellina
> Softlab SRL
>
> __________________________________________________
> Preguntá. Respondé. Descubrí.
> Todo lo que querías saber, y lo que ni imaginabas,
> está en Yahoo! Respuestas (Beta).
> ¡Probalo ya!http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list