renameFile#

pyCGM2.Utils.files.renameFile(fileToRename: str, renamedFile: str)#

Rename a file.

Parameters:
  • fileToRename (str) – The current name (and path) of the file.

  • renamedFile (str) – The new name (and path) for the file.