<< Scithon Scithon py2sci >>

Scithon >> Scithon > py

py

Executes python statements.

Syntax

py(string code)

Arguments

code

A string containing simple python statements.

Description

Creates and returns a python list containing the arguments passed. Arguments can be of type int, double, string, bool or python variable.

Example

startPy
py("a = 50; b = a**2;print(b)")
quitPy

Report an issue
<< Scithon Scithon py2sci >>