[SciPy-user] error execption
Thu, 6 Feb 2003 08:54:12 -0700 (MST)
On Thu, 6 Feb 2003, Agustin Lobo wrote:
> I have a loop within which,
> sometimes, there is an error because a given
> file that is suppossed to be read is not present.
> In this case python issues an error message
> and stops. Is there any way I could
> get the error message but
> get the process continue with the next
> element in the list?
You need to learn how to handle exceptions, which are described here:
You'll find a raft of tutorials at: