Python.Clear
------------

Clears the variables in the Python environment.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Python](component_Python.md) | [14.3](newinversion143.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Python.Clear"; PythonRef ) 

**MBS**( **"Python.Clear";** /\* Clears the variables in the Python environment. \*/  
**$PythonRef**) /\* The Python reference number.e.g. $python \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PythonRef | The Python reference number. | $python |

### Result

Returns OK or error.

### Description

Clears the variables in the Python environment.  
This function is free to use.

Created 23th May 2024 , last changed 31st May 2024

  
[Python.AddSysPath](PythonAddSysPath.md) - [Python.DeleteValue](PythonDeleteValue.md)

[HTML Version](PythonClear.shtml)