473,386 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Embedding the python interpreter

Hey,

Do you know an easy way to embed the python interpreter in a python
program (so a non-technical user, which has no idea how to install the
python interpreter would be able to run the script as an executable) ?

Aug 28 '07 #1
3 1351
On Aug 28, 8:45 pm, Tom Gur <gur....@gmail.comwrote:
Hey,

Do you know an easy way to embed the python interpreter in a python
program (so a non-technical user, which has no idea how to install the
python interpreter would be able to run the script as an executable) ?
py2exe does this very well for windows executables: http://www.py2exe.org/

Aug 28 '07 #2
On 2007-08-28, Tom Gur <gu*****@gmail.comwrote:
Hey,

Do you know an easy way to embed the python interpreter in a python
program (so a non-technical user, which has no idea how to install the
python interpreter would be able to run the script as an executable) ?
Hey,

This question is asked at least once a week. I'm surprised you
didn't see the threads. [It probably should be int he FAQ, but
isn't.]

http://www.py2exe.org/
http://sourceforge.net/projects/cx-freeze/
http://pyinstaller.hpcf.upr.edu/cgi-bin/trac.cgi
http://cheeseshop.python.org/pypi/py2app/

--
Grant Edwards grante Yow! Could I have a drug
at overdose?
visi.com
Aug 28 '07 #3
On Aug 28, 4:03 pm, Grant Edwards <gra...@visi.comwrote:
On 2007-08-28, Tom Gur <gur....@gmail.comwrote:
Hey,
Do you know an easy way to embed the python interpreter in a python
program (so a non-technical user, which has no idea how to install the
python interpreter would be able to run the script as an executable) ?

Hey,

This question is asked at least once a week. I'm surprised you
didn't see the threads. [It probably should be int he FAQ, but
isn't.]

http://www.py2exe.org/http://sourcef...g/pypi/py2app/

--
Grant Edwards grante Yow! Could I have a drug
at overdose?
visi.com
Thanks a lot !

Aug 30 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: jordi | last post by:
Hi, I'm starting to use Python embedded in a C program. I'm using Python to execute several scripts using as a variables information retrieved for several multithread "agents" written in C. ...
0
by: vincent Salaun | last post by:
hi all, here's my problem : I've embedded a python interpreter in our java application (based on the NetBeans palteforrm) using the Jython API : http://www.jython.org/docs/javadoc/index.html...
0
by: Atul Kshirsagar | last post by:
I am embedding python in my C++ application. I am using Python *2.3.2* with a C++ extention DLL in multi-threaded environment. I am using SWIG-1.3.19 to generate C++ to Python interface. Now to...
23
by: Robey Holderith | last post by:
Anyone know a good way to embed python within python? Now before you tell me that's silly, let me explain what I'd like to do. I'd like to allow user-defined scriptable objects. I'd like to...
1
by: Martin | last post by:
Greetings, I am new to python and wish to embed python in an 3D graphics application to provide application automation. The high level goal is to be able to drive my app from a script for batch...
1
by: Craig Ringer | last post by:
Hi folks I'm a bit of a newbie here, though I've tried to appropriately research this issue before posting. I've found a lot of questions, a few answers that don't really answer quite what I'm...
4
by: adsheehan | last post by:
Hi, I am embedding Python into a multi-threaded C++ application running on Solaris and need urgent clarification on the embedding architecture and its correct usage (as I am experience weird...
8
by: Thomas Bartkus | last post by:
Name: lib64python2.4-devel Summary: The libraries and header files needed for Python development Description: The Python programming language's interpreter can be extended with dynamically...
3
by: dmoore | last post by:
Hi Folks: I have a question about the use of static members in Python/C extensions. Take the simple example from the "Extending and Embedding the Python Interpreter" docs: A simple module...
1
by: Thomas Troeger | last post by:
Dear all, I've successfully embedded the Python interpreter into a set of C/C++ application programs that use a larger library project with information from http://docs.python.org/api/api.html...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.