Hi All,

    Is there a way to express this:
    isThumbnail = False
    if size == "thumbnail":
        isThumbnail = True

     like this:
     [ isThumbnail = True if size == "thumbnail" isThumbnail = False ]
     and the scoping extending to one level above without resorting to the
global keyword?

Thanks,
Tino
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to