save#

function.save(*args, **kwargs) Any#

Save the palette for the currently selected variable.

A saved palette can later be restored.
Args:
p0:

‘palette_filename’ name of the file containing a palette definition

Returns:

zero on success, non-zero on error