Re: Tkinter option-value
Bryan Oakley <[email protected]> Wed, 22 Nov 2017 22:19:29 -0600
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <CAKypQnztPaLv+9FH_mg5HC+OnBynW4uP=dkzJAgv+xK0G26QSw@mail.gmail.com> |
Are you asking a question, or just mentioning an observation. Personally I find the use of tkinter constants a bit silly. I see no point in using something like tkinter.END instead of "end". I always recommend that people learn to use the string form rather than the constant. On Wed, Nov 22, 2017 at 3:03 PM, adil gourinda <[email protected]> wrote: > I noticed that the Tk's option-value are translated in Tkinter in two > forms: > Tk -----------: option value > Python 1st form: option = tkinter.VALUE > 2nd form: option = 'value' > The 2nd form is closer to Tk's syntax but when it was introduced in > Tkinter because it is the 1st syntax which I found in book. > > > > > _______________________________________________ > Tkinter-discuss mailing list > [email protected] > https://mail.python.org/mailman/listinfo/tkinter-discuss > > _______________________________________________ Tkinter-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tkinter-discuss