Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11680 > unrolled thread

Re: How to package a gui with py2exe

Started byVlastimil Brom <vlastimil.brom@gmail.com>
First post2011-08-17 14:44 +0200
Last post2011-08-17 14:44 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How to package a gui with py2exe Vlastimil Brom <vlastimil.brom@gmail.com> - 2011-08-17 14:44 +0200

#11680 — Re: How to package a gui with py2exe

FromVlastimil Brom <vlastimil.brom@gmail.com>
Date2011-08-17 14:44 +0200
SubjectRe: How to package a gui with py2exe
Message-ID<mailman.126.1313585049.27778.python-list@python.org>
2011/8/17 Benji Ara. <benjokal@gmail.com>:
> Hello
> I wonder how you package a Tkinter gui with py2exe?
> Thanks
> Benji
>
>
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>

Hi,
check the necessary steps on the py2exe homepage
http://www.py2exe.org/index.cgi/Tutorial

in your setup script, you have to use something like the following for
a gui app:

setup(windows=["gui_hello.py"])

instead of console in the sample code
setup(console=['hello.py'])

For more details there are some dedicated pages on the project wiki:
http://www.py2exe.org/index.cgi/FrontPage

hth,
   vbr

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web