How to create an exe-file?

Diez B. Roggisch deets at nospam.web.de
Sun Apr 6 17:17:05 EDT 2008


skanemupp at yahoo.se schrieb:
> On 6 Apr, 22:50, Fredrik Lundh <fred... at pythonware.com> wrote:
>> skanem... at yahoo.se wrote:
>>> how do you create exe-files of your python-code?
>>> is it different depending on what libraries, GUI-frameworks you use?
>>> i want to create an exe-file of a pythonscript that uses Tkinter.
>> assuming windows only, you want:
>>
>> http://www.py2exe.org/
>>
>> also see:
>>
>> http://effbot.org/zone/python-compile.htm
>>
>> </F>
> 
> 
> ty.
> 
> a good thing about python is the portability though. but u cant make
> an exe that can be used on mac too, ie one exe fpr both?

No. But you can use the same python-sources, without any or only a few 
platform specific changes.

> if i want to make an exe for mac, what do i need?


google py2app.

Diez



More information about the Python-list mailing list