[Tutor] try except continue

tpc247@gmail.com tpc247 at gmail.com
Thu Jul 28 22:00:05 CEST 2005

hi Danny, well from my previous message:

ideally what I'd like is for my procedural program, when it runs
through its steps and encounters an error, to log the error and pick
up where it left off and keep going.

so for the execution of someProcedure(), I want it to print the error
and continue running through the rest of someProcedure().  Is this
possible ?

On 7/28/05, Danny Yoo <dyoo at hkn.eecs.berkeley.edu> wrote:
> Hi Tpc,
> What did you expect to happen when we hit the continue statement?  It'll
> help to know what you wanted to happen, so that we can better understand
> the problem.
> According to:
>     http://www.python.org/doc/ref/continue.html
> 'continue' is only effective if we're in a loop, so the error message is
> perfectly true.  So I think we need to know more about what you are trying
> to do.

More information about the Tutor mailing list