How to create an application which embeds and runs Python code without local Python installation?

Posted by Robert on Stack Overflow See other posts from Stack Overflow or by Robert
Published on 2010-03-22T17:43:59Z Indexed on 2010/03/22 17:51 UTC
Read the original article Hit count: 267

Filed under:
|
|
|
|

Hello fellow software developers.

I want to distribute a program which is scriptable by embedding the Python interpreter. What I don't want is that the user has to install Python first.

So I'm looking for a solution where I distribute only the following components:

  • my program executable and its libraries
  • the Python library (dll/so)
  • a ZIP-file containing all necessary Python modules and libraries.

How can I accomplish this? Do you have a step-by-step recipe for me?

The solution should be suitable for both Windows and Linux.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about python

Related posts about dll