Safely renaming a file without overwriting

Wolfgang Draxinger wdraxinger at
Sun Oct 29 02:08:34 CEST 2006

Steven D'Aprano wrote:

> But the source file always exists, otherwise there is nothing
> to rename! Do you mean, open the destination filename?

Of course I meant the destination file. Someone please spill some
ice chilled water over me to get me awake again. Time to go to
bed :-P before I make more dumb mistakes/typos...

Wolfgang Draxinger
E-Mail address works, Jabber: hexarith at, ICQ: 134682867
GPG key FP: 2FC8 319E C7D7 1ADC 0408 65C6 05F5 A645 1FD3 BD3E

More information about the Python-list mailing list