applying a filter to all files in a directory

Tomasz Lukasiak Tomasz_Lukasiak at Brown.EDU
Sun May 2 20:23:19 EDT 1999


hi,

    i have a question to which i'm sure there is a simple answer, but i
couldn't find any references.  i've written a program that converts a
file from one format to another.  now, i'd like to write a python script
that, when given a directory name, will apply this converter program to
all the files in the specified directory.  what is the best way to do
this?  i'm using a UNIX machine, but am unsure how to use the Python
file manipulation libraries.

thanks for any help,
tom

Tomasz_Lukasiak at Brown.EDU




More information about the Python-list mailing list