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

Py2exe help for beginner

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 the source code are ready and now I
need to compile it to exe. It is only one py file, Iterator.py.

my setup.py looks like this

from distutils.core import setup
import glob,os,sys
import py2exe
setup(name='MyIterator',
version='0.2',
author='P.P',
py_modules=["Iterator"])

it runs nicely but no exe is created? What am I missing?
Jul 18 '05 #1
3 1287
On 8 Nov 2004 04:08:30 -0800, PeterFI <pe******@suomi24.fi> wrote:
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 the source code are ready and now I
need to compile it to exe. It is only one py file, Iterator.py.

my setup.py looks like this

from distutils.core import setup
import glob,os,sys
import py2exe
setup(name='MyIterator',
version='0.2',
author='P.P',
py_modules=["Iterator"])

it runs nicely but no exe is created? What am I missing?

What does the output of the 'python setup.py py2exe' command look like
exactly?

Jul 18 '05 #2
PeterFI wrote:
my setup.py looks like this

from distutils.core import setup
import glob,os,sys
import py2exe
setup(name='MyIterator',
version='0.2',
author='P.P',
py_modules=["Iterator"])

it runs nicely but no exe is created? What am I missing?

You're missing a "windows=" or "console=" argument.

-Jonathan

Jul 18 '05 #3
PeterFI wrote:
my setup.py looks like this

from distutils.core import setup
import glob,os,sys
import py2exe
setup(name='MyIterator',
version='0.2',
author='P.P',
py_modules=["Iterator"])

it runs nicely but no exe is created? What am I missing?

You're missing a "windows=" or "console=" argument.

-Jonathan

Jul 18 '05 #4

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...
0
by: Kathleen Kudzma | last post by:
I'm having a problem with py2exe for Python 2.3. I got fixed the Lookuperror no codec search functions registered: can't find encoding by following the instructions on the py2exe page (added...
8
by: Kathleen Kudzma | last post by:
Does anyone know how to resolve the following problem that I'm getting in Python 2.2 and 2.3? PROBLEM: When I try to create a classReader object I get an exception: "SAXReaderNotAvailable: No...
0
by: Steven Bell | last post by:
I am trying to build an executable from a python script. Using python 2.3, SOAPpy 0.10.3, Py2exe 0.4.2. Build command: python setup.py py2exe -w --includes xml.sax.drivers2.drv_py I get the...
1
by: sarmin | last post by:
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...
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...
6
by: demon_slayer2839 | last post by:
I'm a newbie at programmin. I've downloaded Python and am going through "How to think like a computer scientist". I've also downloaded py2exe and I don't really know how to use it. For one what 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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.