I have an application written in python and Tk. My application is to be scriptable with python, i.e., the user gives a small piece of code written in python, and that is to be executed by my application in a different interpreter, with different set of local variables.
I know this is possible as I've seen the application Blender do something like this.
I think what I need for this is embedding python into python applications. But all I could find googling is embedding Python in C/C++.
Any help appreciated.