On Thursday, March 3, 2016 at 11:13:58 AM UTC+5:30, Denis Akhiyarov wrote: > Embed using C-API from ctypes, cffi or cython, but not using subprocesses. > Thanks for asking! > > Here is link to official documentation about embedding: > > https://docs.python.org/3.6/extending/index.html
Nowadays its fashionable to talk of the "xy problem" http://code.tutsplus.com/tutorials/what-is-the-xy-problem-and-why-is-it-bad--cms-21023 ie you really need y but only know how to ask for x. Maybe you need to back off from python... docs/apis/jargon etc And tell us at a higher level WHAT you want and leave it to others to come up with HOWs [Disclaimer: Dont know that much about the extending API but if I remember right full-scale re-entrancy was considered and rejected] -- https://mail.python.org/mailman/listinfo/python-list