win32api.MoveFileEx
MoveFileEx(srcName, destName, flag)
Renames a file.
Parameters
Comments
This method can move files across volumes.If destName is None, and flags contains win32con.MOVEFILE_DELAY_UNTIL_REBOOT, the file will be deleted next reboot.
Win32 API References