Discussion:
Detecting user's installed Python/Tkinter packages during install of app
Noble Bell
2014-10-16 21:54:07 UTC
Permalink
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
Skip Montanaro
2014-10-16 22:14:23 UTC
Permalink
Post by Noble Bell
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
Noble Bell
2014-10-17 01:38:07 UTC
Permalink
Post by Skip Montanaro
Post by Noble Bell
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

Continue reading on narkive:
Loading...