how to use bool

jimgardener at gmail.com jimgardener at gmail.com
Sun Jan 6 02:55:04 EST 2008


hi bukzor & everyone who replied

thanks for the detailed replies
will try to write that way
thanx a lot
jim



bukzor wrote:
> On Jan 4, 8:51 am, bukzor <workithar... at gmail.com> wrote:
>
> #exercise of the class and error handling
> m = myclass()
> try:
>     m.mymethod()
>     print "Completed successfully!"
> except SthingError, ste:
>     print "STHINGERROR:"
>     print ste
> except Exception, e: print e
>
> print
> print "This time no error handling:"
> m.mymethod()



More information about the Python-list mailing list