On 2015-07-22 16:50, Grant Edwards wrote:
On 2015-07-22, MRAB <pyt...@mrabarnett.plus.com> wrote:
On 2015-07-22 16:27, Antoon Pardon wrote:

Does the same condition hold for strings? If you are not performing string
operations on something, it is not a string?

Tkinter comes to mind. You specify how widgets are laid out strings
that are basically flags:

     text_widget.pack(side=LEFT, fill=BOTH, expand=YES)

where LEFT, BOTH and YES are strings.

That's Tcl's fault.  They have to be passed to Tcl, and Tcl only has
one data type: strings.

But _I'm_ writing in Python. Do I have to know how Tcl works underneath?

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

Reply via email to