Integers with leading zeroes

Grant Edwards invalid at invalid.invalid
Wed Jul 22 11:50:16 EDT 2015


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.

-- 
Grant Edwards               grant.b.edwards        Yow! An INK-LING?  Sure --
                                  at               TAKE one!!  Did you BUY any
                              gmail.com            COMMUNIST UNIFORMS??



More information about the Python-list mailing list