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


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

Detecting user's installed Python/Tkinter packages during install of app

Started byNoble Bell <noblebell@gmail.com>
First post2014-10-16 14:54 -0700
Last post2014-10-16 18:38 -0700
Articles 3 — 2 participants

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


Contents

  Detecting user's installed Python/Tkinter packages during install of app Noble Bell <noblebell@gmail.com> - 2014-10-16 14:54 -0700
    Re: Detecting user's installed Python/Tkinter packages during install of app Skip Montanaro <skip.montanaro@gmail.com> - 2014-10-16 17:14 -0500
      Re: Detecting user's installed Python/Tkinter packages during install of app Noble Bell <noblebell@gmail.com> - 2014-10-16 18:38 -0700

#79225 — Detecting user's installed Python/Tkinter packages during install of app

FromNoble Bell <noblebell@gmail.com>
Date2014-10-16 14:54 -0700
SubjectDetecting user's installed Python/Tkinter packages during install of app
Message-ID<fe8b3962-f4cc-4a5a-9f87-53aa531db909@googlegroups.com>
I am thinking of writing a new mac and/or windows application using python 3.x and the tkinter gui toolkit. A question that I have is this..

If my application uses a version of python/tkinter that is not on the users computer will I be able to detect that during an install and automatically install the proper files silently?

Thanks in advance..

Noble

[toc] | [next] | [standalone]


#79226

FromSkip Montanaro <skip.montanaro@gmail.com>
Date2014-10-16 17:14 -0500
Message-ID<mailman.14934.1413497672.18130.python-list@python.org>
In reply to#79225
On Thu, Oct 16, 2014 at 4:54 PM, Noble Bell <noblebell@gmail.com> wrote:
> If my application uses a version of python/tkinter that is not on the users computer will I be able to detect that during an install and automatically install the proper files silently?

You mean, like this?

% python -c 'import _tkinter ; print _tkinter.TCL_VERSION'
8.5

Skip

[toc] | [prev] | [next] | [standalone]


#79232

FromNoble Bell <noblebell@gmail.com>
Date2014-10-16 18:38 -0700
Message-ID<0634a3e6-b6c4-4be2-95e7-5e1418ac8997@googlegroups.com>
In reply to#79226
On Thursday, October 16, 2014 5:14:44 PM UTC-5, Skip Montanaro wrote:
> On Thu, Oct 16, 2014 at 4:54 PM, Noble Bell  wrote:
> 
> > If my application uses a version of python/tkinter that is not on the users computer will I be able to detect that during an install and automatically install the proper files silently?
> 
> 
> 
> You mean, like this?
> 
> 
> 
> % python -c 'import _tkinter ; print _tkinter.TCL_VERSION'
> 
> 8.5
> 
> 
> 
> Skip

Not exactly. I mean when a end user is installing my application can the installer detect the presence of the correct version of python and tkinter and if they are not present have the installer silently install them to the users machine.

NB

[toc] | [prev] | [standalone]


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


csiph-web