p = py()
p.module.function(...)
| Parameter | Description |
|---|---|
| p | Python namespace proxy object. |
| pyValue | Python object returned by the called function. |
py returns a proxy object used to access Python builtins and modules from Nelson.
Use attribute access on the returned object to import modules or call Python functions.
p = py();
pyValue = p.int(42)
| Version | Description |
|---|---|
| 2.0.0 | initial version |