Does py2exe work with Tkinter?

Fuzzyman michael at foord.net
Mon Mar 29 08:56:59 EST 2004


<CaptainN at altel.net> wrote in message news:<rHL9c.7383$ol3.34 at fe03.usenetserver.com>...
> I've just started playing with py2exe and tried to create a distribution for
> a slightly complex Tkinter program that refers to a class in another file.
> I just try to create an .exe for the main Tkinter program but it's not
> functional; setup says that it's missing SSL and some java classes which I
> didn't know my program was using.
> 
> Anyone run across this before, or have any examples of a working
> distribution?
> 
> Thanks,
> CaptainN

I've certainly used py2exe succesfully with Tkinter - several times.
It handled the imports of other classes fine.... but I've not used any
Java classes or the SSL library. I did have an issue where I was using
the openbrowser module (?) - which was importing the SSL module which
I didn't need (an extra 500k to my distributable...) - in that case
just deleting it worked fine....


Regards,


Fuzzyman

http://www.voidspace.org.uk/atlantibots/pythonutils.html



More information about the Python-list mailing list