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

Jérôme Laheurte fraca7 at free.fr
Sat Dec 3 10:41:03 EST 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