> On 2017-08-21 01:28, jf...@ms4.hinet.net wrote:
>> Peter Otten at 2017/8/20 UTC+8 PM 5:52:24 wrote:
> [snip]
>
>>> That is just a peculiarity of TCL; a "-" is added to the option by the
>>> Python wrapper before passing it along
>>
>> This extra "-" confuses people when showing up in the Traceback info.
>> Can't figure out why the author want to do this.
>>
> To clarify what Peter said, tkinter is a GUI library written in the Tcl
> programming language.
The Tcl GUI framework is tk, not tkinter.
> The 'tkinter' module in Python's standard library is just a wrapper
> around that library.

tkinter abbreviates tk interface. In particular, it adds a Python class-based interface to tcl and tk functions and structures.

> The "-" is added because the Tcl language requires it.

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

Reply via email to