applying a filter to all files in a directory

tlukasiak at my-dejanews.com tlukasiak at my-dejanews.com
Sun May 2 11:59:49 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


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




More information about the Python-list mailing list