[Tutor] How much in a "try" block?

Oladipupo Elegbede dipo.elegbede at dipoelegbede.com
Fri Aug 23 03:02:16 CEST 2013


Depending on what x is and also whether or not you've decided to go the
'try'route, if, else may be useful from the way you sound. My thought.
On 22 Aug 2013 21:16, "leam hall" <leamhall at gmail.com> wrote:

> If I have a series of tasks that depend on X happening, should I put them
> all in the same "try" block or just put X in there and exit out if it fails?
>
> Thanks!
>
> Leam
>
>
> --
> Mind on a Mission <http://leamhall.blogspot.com/>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130823/fea2a839/attachment-0001.html>


More information about the Tutor mailing list