[Tutor] Fwd: Syntax question

2018-08-09 Thread Abdur-Rahmaan Janhangeer
missed reply all Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius -- Forwarded message - From: Abdur-Rahmaan Janhangeer Date: Thu, 9 Aug 2018, 11:56 Subject: Re: [Tutor] Syntax question To: Matthew Polack wheatbutton = Button(root, text="Wheat", fg="black",

Re: [Tutor] Fwd: syntax question

2008-05-23 Thread Kent Johnson
On Fri, May 23, 2008 at 2:25 PM, Moishy Gluck <[EMAIL PROTECTED]> wrote: > I came in python around 2.5. So I've been using "Boolean and 1 or 2". For Python 2.5 you should use the new syntax 1 if Boolean or 2 It doesn't have the problems of the unofficial syntax you quote. Kent

Re: [Tutor] Fwd: syntax question

2008-05-21 Thread Kent Johnson
On Wed, May 21, 2008 at 12:00 PM, Moishy Gluck <[EMAIL PROTECTED]> wrote: > You appear to be referring to list comprehension. No, it is not a list comp. See my separate reply. Kent ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/

[Tutor] Fwd: syntax question

2008-05-21 Thread Moishy Gluck
-- Forwarded message -- From: Moishy Gluck <[EMAIL PROTECTED]> Date: Wed, May 21, 2008 at 12:00 PM Subject: Re: [Tutor] syntax question To: Eric Abrahamsen <[EMAIL PROTECTED]> You appear to be referring to list comprehension. Here is a link to list comprehension is the python docs