|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
python interpreter as dll
I was wondering if there was a way to compile the python interpreter as a dll. What i'm thinking about is that I really want to use python in my C++ apps for handling all sorts of minor task in them such as macros, game logic etc, but I don't want to have a "You must download the python interpreter to use this app" dependencie. I just want to have the python interpreter as a dll in my apps' dir. Can this be done? If so, how?
Regards, Andri Mar Jónsson |
|
#2
|
|||
|
|||
|
Last edited by Strike : October 4th, 2004 at 10:57 AM. Reason: linkification |
|
#3
|
|||
|
|||
|
The python interpreter is already in a dll - search for python23.dll in your Windows/system32 directory. (Assuming you have Python 2.3 installed).
The python.exe program is a thin wrapper round the dll to make it executable. The link that Strike posted will show you how to embed python in other programs. Dave - The Developers' Coach. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > python interpreter as dll |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|