Integers with leading zeroes

MRAB python at mrabarnett.plus.com
Wed Jul 22 12:24:49 EDT 2015


On 2015-07-22 16:50, Grant Edwards wrote:
> On 2015-07-22, MRAB <python at 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?




More information about the Python-list mailing list