473,382 Members | 1,202 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,382 software developers and data experts.

py2exe question from a total beginner

Hi Gurus...

I am using pythonwin to write the programming code and boa
constructor to build the GUI... the GUI and the python code work
fine when run through pythonwin platform...

i m now trying to create an executable python code that can be used
on computers that do not have python software installed... py2exe is
the definitely the one i m looking for... however i m simply not
sure how to use this software (py2exe)... moreover i havent got a
clue about using the python distutils function...

for simplicity, i dont understand the followings:
run:

python setup.py py2exe --help

setup.py is the distutils setup-scripts...

how do i run this command?? is it through the pythonwin interactive
mode?? by the way, i m a total beginner in using python (i m a
python baby, less than 1 month old)...

any helps are very much appreciated...


Jul 18 '05 #1
1 1563
sarmin wrote:
Hi Gurus...

I am using pythonwin to write the programming code and boa
constructor to build the GUI... the GUI and the python code work
fine when run through pythonwin platform...

i m now trying to create an executable python code that can be used
on computers that do not have python software installed... py2exe is
the definitely the one i m looking for... however i m simply not
sure how to use this software (py2exe)... moreover i havent got a
clue about using the python distutils function...

for simplicity, i dont understand the followings:
run:

python setup.py py2exe --help

setup.py is the distutils setup-scripts...

how do i run this command?? is it through the pythonwin interactive
mode?? by the way, i m a total beginner in using python (i m a
python baby, less than 1 month old)...

any helps are very much appreciated...


Here it explains how to write the setup.py
http://starship.python.net/crew/theller/py2exe/

Once you got the setup.py, run it in the command prompt:
python setup.py py2exe

That should work.

--
Glitch

-----BEGIN TF FAN CODE BLOCK-----
G+++ G1 G2+ BW++++ MW++ BM+ Rid+ Arm-- FR+ FW-
#3 D+ ADA N++ W OQP MUSH- BC- CN++ OM P75
-----END TF FAN CODE BLOCK-----

"... Have some faith in me!"
"As much as you'd like to think so, Cheetor, this isn't about you."
-- Cheetor and Optimus Primal, "Equal Measures"

Jul 18 '05 #2

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

Similar topics

0
by: RJS | last post by:
Hi all, I can't get a py2exe compiled app to run with numarray (numarray-0.5.win32- py2.2). Also wxPythonWIN32-2.3.3.1-Py22 and ActivePython-2.2.1-222. In the sample below, commenting out...
2
by: Stefan Behrens | last post by:
Hi, does anybody know how I can get py2exe to work with wxPython's wxCalendarCtrl? Currently, I have just a "standard" setup.py, and py2exe gives me a syntax error. Do I need to include any...
6
by: Luc Saffre | last post by:
Hello, I had a strange problem when freezing (using either py2exe or McMillan installer) a script that imports reportlab (which imports PIL (which imports FixTk))). - Python 2.3.3c (also with...
2
by: Will | last post by:
Maybe there is another group for posting this... I am a total newbie to Python... so please forgive me if I ask a bunch of inappropriate questions... as I am a big question asker. If I develope...
3
by: PeterFI | last post by:
Howdy folks, I´m taking my first steps in a world of python and I start from the end:) I have this little application written in python and I need to convert it to Finnish. Modifications to...
13
by: Thomas Heller | last post by:
I'm slowly getting tired maintaining py2exe. It is far from perfect, although it has interesting features (I would say). The problem, apart from the work, is that it is good enough for me - I...
2
by: Marcus | last post by:
Hi, I'm to the stage where I need to deploy the app I built with wxPython. I've been able to successfully build it w/py2exe into a binary (about 10MB size in total). What I'd like to do is...
0
by: Larry Bates | last post by:
Jimmy Retzlaff wrote: Everyone, Thanks for all your hard work on py2exe, it is greatly appreciated. -Larry Bates
0
by: Jimmy Retzlaff | last post by:
py2exe 0.6.9 released ===================== py2exe is a Python distutils extension which converts Python scripts into executable Windows programs, able to run without requiring a Python...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.