Why don't you simply print out fname? This should point you to the error.

Denis


I did here:
>         if fname == old_name:
>             print fname # test

and it looks correct.

On an WinXP, should I use shutil instead?

Roy
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to