On 2/11/07, Luke Paireepinart <[EMAIL PROTECTED]> wrote:
> for name in filelist:
oops! filelist still contains the non-normalized names of the files!
>
Dang! Thank you sir. I should have recaptured the file list before
continuing on.
Alan - thanks for the great info as well. I will check i
"Richard Querin" <[EMAIL PROTECTED]> wrote
> I'm having a slight problem here. I've got a script (shown below)
> which is
> run from the command line. I am converting the filenames to
> lowercase and
> then, for each .cr2 file, I'm building a command line and running
> it.
...
> os.execl() won
See my comments in-line with the rest of the e-mail.
Richard Querin wrote:
> import os
> import string
>
> # get a list of the files in the current working directory
>
> filelist = os.listdir(os.getcwd())
Ok we have a list of all the files
>
> # run through the list and convert all of them to lower
I'm having a slight problem here. I've got a script (shown below) which is
run from the command line. I am converting the filenames to lowercase and
then, for each .cr2 file, I'm building a command line and running it. Seems
pretty simple. I print the resulting command line and it looks fine, but