-
-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
run
from lupa.lua53 import LuaRuntime
lua = LuaRuntime()
r = lua.execute("""
function 加法(a, b)
return a + b
end
return 加法(1,2)
""")
print(r)
output
Traceback (most recent call last):
File "E:\tlsoft\echo.py", line 7, in <module>
r = lua.execute("""
File "lupa\lua53.pyx", line 412, in lupa.lua53.LuaRuntime.execute
File "lupa\lua53.pyx", line 1735, in lupa.lua53.run_lua
lupa.lua53.LuaSyntaxError: error loading code: [string "<python>"]:2: <name> expected near '<\229>'
Metadata
Metadata
Assignees
Labels
No labels