On Sat, Sep 13, 2014 at 3:08 AM, Mark Lawrence <breamore...@yahoo.co.uk> wrote:
>> There's absolutely no reason to go Windows-specific. Use Tkinter -
>> it's pretty light-weight. Comes with most Python distros. See how it
>> goes in terms of code size - if it's unsuitable, then look at others,
>> but start with the obvious option.
>>
>> ChrisA
>>
>
> As IDLE comes with all Python distros shouldn't the same apply to tkinter as
> that's what IDLE is based around?

It doesn't, though. It comes with most. It's perfectly possible to
have a minimal Python with no Tkinter and therefore no Idle; on my
Debian systems, there's a separate "python-tk" package on which "idle"
depends, but "python" doesn't.

rosuav@dewey:~$ python
Python 2.7.8 (default, Aug 18 2014, 10:01:58)
[GCC 4.9.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>
    raise ImportError, str(msg) + ', please install the python-tk package'
ImportError: No module named _tkinter, please install the python-tk package

I believe Tkinter and Idle come with all Windows MSI installers
downloaded from python.org, but I can't state even that with
certainty, so I just kept it to "most" for safety. If I'd said "all",
I'm pretty sure something would have proven me wrong, and knowing my
luck, it would have been the OP's system :)

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to