code: def move_file(source_file_pathname, destination_file_pathname):
      
      if os.path.exists(destination_file_pathname):
          os.remove(destination_file_pathname)
  
      shutil.move(source_file_pathname, destination_file_pathname)
docs: Move the the specified file to another location.  If the destination
      already exists, it is replaced silently.
  
      This function is an alternative to ``shutil.move(src, dst)``, which
      might raise ``OSError`` if the destination already exists.
  
      @param source_file_pathname: the complete path and name of the file to
          move.
  
      @param destination_file_pathname: the complete path and name of the
          file once moved.