从 Lua 脚本运行 Python 脚本

***************我有两个脚本************************

文件名: abcd.py

def fun() :
    x = 1
    return x

z = fun()
print z

文件名: xyz.lua

os.execute('start cmd /c C:/Python34/python.exe "C:/Folder/abcd.py"')

我没有得到结果。 请帮我解决这个问题,如何从 Lua 运行 Python 脚本。 我希望从 xyz.lua 运行 abcd.py 脚本

我在 Windows 环境中工作。

点赞