save_as

file_system.save_as(path: str) → str

Opens a save panel to export a file as a copy. Returns the path of the exported file or raises FilePickerCancellation if no folder was selected.

Parameters:

path – The file path to export.

Return type:

str