Lua Reference

You can interoperate with Python from Lua, for example, run arbitrary Python code. All interop functions are in the py global table.

py.Exec(code)

Executes a string of Python code.

py.Exec('print("HELLO".capitalize())')  -- Will print "Hello" to the console