win32file.MoveFileW

MoveFileW(existingFileName, newFileName)

Renames an existing file or a directory (including all its children). (NT/2000 Unicode specific version).

Parameters

existingFileName : PyUnicode

Name of the existing file

newFileName : PyUnicode

New name for the file