[Tutor] py to exe

Piet Kaldewaij pietenmariankaldewaij at planet.nl
Fri Aug 20 13:35:43 CEST 2004


I've a question about convertin .py-files to windows.exe-files. I installed Py2exe.......
I choose an example named 'Boolean' to change in an exe.file


This is the text of my setupfile:


from distutils.core import setup

import py2exe




Trying to compile I see this in DOS:



C:\>C:\PYTHON23\python setup.py py2exe

  File "setup.py", line 1

    Python 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit (Intel)] on win



SyntaxError: invalid syntax


Have you any idea the compiler doesn't work?

greetings,see you....................


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20040820/ebee6c06/attachment.html

More information about the Tutor mailing list