get a copy of a string leaving original intact

Christoph Haas email at
Thu Oct 20 22:50:56 CEST 2005

On Thursday 20 October 2005 22:43, Bell, Kevin wrote:
> I need to copy a file, say "abc-1.tif" to another directory, but if it's
> in there already, I need to transfer it named "abc-2.tif" but I'm going
> about it all wrong.

What a coincidence... I stepped about this today:

Looks close to what you are trying.

Kind Regards
".signature" [Modified] 1 line --100%--                1,48         All

More information about the Python-list mailing list