From: Guy K. K. <g....@ma...> - 2010-06-09 23:35:59
|
On Thu, 10 Jun 2010 04:11:56 Davidmh wrote: > try: from visual import * > except:pass Can you please at least try to capture a *specific* exception? Harvesting off *all* exceptions is usually a *very* bad design decision, and much frowned upon. If there's a problem, take a note of the exception, and then use precisely that one in the try/except block. I know there are quite some programming newbies also here on the list, and I do not like to leave these sloppy code samples around here to be adopted (and worsened in the course). Thanks, Guy PS: Also try to cut the quoted mails to what is necessary to understand your mail in context, and do not leave all the crap with all signatures underneath your mail. This is especially nice to people reading to the mailing list in digest mode! -- Guy K. Kloss Institute of Information and Mathematical Sciences Te Kura Pūtaiao o Mōhiohio me Pāngarau Massey University, Albany (North Shore City, Auckland) 473 State Highway 17, Gate 1, Mailroom, Quad B Building voice: +64 9 414-0800 ext. 9266 fax: +64 9 441-8181 G....@ma... http://www.massey.ac.nz/~gkloss |