SavePython Function

Save the Python file editor

Arguments

Number Type Compulsory Default Description
1 String No Previously saved path Path to save file

Argument 1

Path to save file. If omitted the previously saved path, if any, will be used

Returns

Return type: Integer

Integer code indicating status:
0 success
1 No Python editors open
2 Save failed
3 No path supplied and no previous path available
4 Unexpected error