Embedded python on systems without python installed

K

KillSwitch

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?
 
S

Stef Mientki

KillSwitch said:
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)

cheers,
Stef
 
S

Stef Mientki

KillSwitch said:
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 if you want a less clean install, you can put the dll also in the
windows directory)

cheers,
Stef
 
G

Gabriel Genellina

KillSwitch wrote:
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
nothing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top