This section describes CS+ Python functions, classes, and properties.
Below is a list of CS+ Python functions, classes, and properties.
CS+ Python functions have the following rules.
If a parameter has a default value, then the [Specification format] parameter is described in the form "parameter-name=default-value". You can also specify parameters by value only. |
If the [Specification format] is "function(arg1, arg2 = 1, arg3 = True)", then arg1 has no default value; arg2 has a default value of 1; and arg3 has a default value of "True". |
Parameters with default values can be omitted. |
You can change the order in which parameters are specified by using the format "parameter-name=default-value". |
>>>function(arg3 = False, arg1 = "main", arg2 = 3) ...OK >>>function(False, "main", 3) : NG because it is assumed that "arg1 = False, arg2 = "main", arg3 = 3" |
You should be careful when you describe a path for a folder or file as parameters. |
In a quoted string (""), prepend the letter "r" to make IronPython recognize the string as a path. |