Path.with_suffix# Path.with_suffix(suffix)# Return a new path with the file suffix changed. If the path has no suffix, add given suffix. If the given suffix is an empty string, remove the suffix from the path.