I looked at th Python-C interfaces before (but never got around to doing the project) and while it may be some work it seems like it's very well documented. (There's an entire manual on python.org ...
简单来说要做个东西,需要脚本扩展。在脚本里面又要用到程序提供的函数。 于是形成一个回调。 c---->python/tcl/lua 大概就是这么个东西。 TCL/PYTHON好像是需要把C的函数封装成DLL然后才能调用? 目前还在学习阶段,正在确定那个脚本适合做这个应用,希望大家能 ...
想在程序中创建多个python虚拟机,怎么办?lua虚拟机可以创建多个,python也能吗? 我想让每个线程创建一个python虚拟机。