On Mon, Dec 14, 2015 at 3:38 PM, Vincent Davis <vinc...@vincentdavis.net> wrote: > In the code below try is used to check if handle has the attribute name. It > seems an if statement could be used. Is there reason one way would be > better than another?
http://www.oranlooney.com/lbyl-vs-eafp/ -- https://mail.python.org/mailman/listinfo/python-list