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


Groups > comp.lang.python > #100544

Re: How does one distribute Tkinter or Qt GUI apps Developed in Python

From Christian Gollwitzer <auriocus@gmx.de>
Newsgroups comp.lang.python
Subject Re: How does one distribute Tkinter or Qt GUI apps Developed in Python
Date 2015-12-17 01:29 +0100
Organization A noiseless patient Spider
Message-ID <n4svfl$chr$1@dont-email.me> (permalink)
References <d8560cde-5ccb-4b91-b60c-adc8c1cb836c@googlegroups.com>

Show all headers | View raw


Am 17.12.15 um 01:03 schrieb Bruce Whealton:
> I watched one training video that discussed Python and Tkinter. Like many similar tutorials from online training sites, I was left scratching my head.
>
> What seems to be blatantly missing is how this would be distributed. In the first mentioned tutorial from Lynda.com the Tkinter app was related to a web page. However, the browser cannot run Python Bytecode or Python Scripts.
>
> Surely, one is going to want to create GUI apps for users that are not Python Developers. I would not think to ask someone to install Python on their system and make sure it is added to the path. Maybe it is not so hard for the non-technical, average users.
>
> I would want to package in some way so that when launched, it installs whatever is needed on the end user's computer. How is this done?
> Are there common practices for this?
> Thanks,
> Bruce
>
On option is pyinstaller or py2exe, which converts a Python script + 
dependencies into a single file (single directory) executable. Sometimes 
you must give them hints what to include, but in general it works well. 
It may create very large packages (if you include 
numpy/scipy/matplotlib, you'll end up with ~60 MB)

	Christian

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How does one distribute Tkinter or Qt GUI apps Developed in Python Bruce Whealton <futurewavewebdevelopment@gmail.com> - 2015-12-16 16:03 -0800
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Christian Gollwitzer <auriocus@gmx.de> - 2015-12-17 01:29 +0100
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Rick Johnson <rantingrickjohnson@gmail.com> - 2015-12-16 16:45 -0800
    Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Denis Akhiyarov <denis.akhiyarov@gmail.com> - 2015-12-16 17:21 -0800
    Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Ulli Horlacher <framstag@rus.uni-stuttgart.de> - 2015-12-17 13:58 +0000
      Re: How does one distribute Tkinter or Qt GUI apps Developed in Python wxjmfauth@gmail.com - 2015-12-17 07:21 -0800
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Ben Finney <ben+python@benfinney.id.au> - 2015-12-17 12:20 +1100
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Michiel Overtoom <motoom@xs4all.nl> - 2015-12-17 12:01 +0100
  Re: How does one distribute Tkinter or Qt GUI apps Developed in Python Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2015-12-17 15:30 +0000
    Re: How does one distribute Tkinter or Qt GUI apps Developed in Python wxjmfauth@gmail.com - 2015-12-17 08:28 -0800

csiph-web