Embedding Python: Creating Python Class from Application
krivanek.jirka at seznam.cz
Thu Jan 12 16:08:17 CET 2006
Let's say I have a following python code:
print 'Hello World!'
hw = None
The 'create_instance' function should be implemented in the application
(powered by Delphi - P4D) which is embedding the Python.dll.
I am trying to do this for some time having no success. I am missing
1. How to register global python variable from application which is
2. How to assign this variable with the class instance.
3. How to create the instance of class which is unknown at the compile
Could someone supply the (C/Pascal) code fragment for this?
More information about the Python-list