os.rename copies when old is in-use - is this deliberate?

Jérôme Laheurte fraca7 at free.fr
Sat Dec 3 16:41:03 CET 2005


On Sat, 03 Dec 2005 22:32:22 +1300, Tony Meyer wrote:

>>>> os.rename(sys.executable, "d:\\python24.exe")

What happens if you specify a destination file on the same drive as the
source file ?




More information about the Python-list mailing list