Antoine Pitrou added the comment: > IIRC, os.rename() will fail on Windows if the target file already > exists. Good point. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue13146> _______________________________________