Ask for help about a tkinter problem

MRAB python at mrabarnett.plus.com
Sun Aug 20 22:12:55 EDT 2017


On 2017-08-21 01:28, jfong at 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 'tkinter' module in Python's standard library is just a wrapper 
around that library.

The Perl and Ruby programming languages also have wrappers.
The "-" is added because the Tcl language requires it.



More information about the Python-list mailing list