Embedded python on systems without python installed

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Wed Oct 28 01:43:59 CET 2009

En Tue, 27 Oct 2009 19:31:45 -0300, Stef Mientki <stef.mientki at gmail.com>  
> KillSwitch wrote:

>> I have python successfully embedded in a program I wrote.
>> What files do I need and where do I need to put them so that it can
>> run on systems that don't have python installed?
> I embed python in Delphi apps, and the only thing I add is python24.dll,
> which I put in the same directory as the Delphi executable,
> (but i you want a less clean install, you can put the dll also in the  
> windows directory)

In addition to that DLL, include as much of the standard library as you  
want in a 'Lib' subdirectory (at least os.py; it is used by the  
initialization code to determine the standard library location). Or  

Gabriel Genellina

More information about the Python-list mailing list