Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > error handling

Reply
Thread Tools

error handling

 
 
Frank Bechstein
Guest
Posts: n/a
 
      05-11-2004
I hope somebody could tell me how i can make a python script handling
errors i want that if a error is arise that the script starts all over
from then beginning and not that is is printing the error.

thank u for helping me!
 
Reply With Quote
 
 
 
 
gael.pegliasco@free.fr
Guest
Posts: n/a
 
      05-11-2004
Frank Bechstein a écrit :


> I hope somebody could tell me how i can make a python script handling
> errors i want that if a error is arise that the script starts all over
> from then beginning and not that is is printing the error.
>
> thank u for helping me!


I think exception can help you in this task, you can find documentation
and examples in the tutorial at this url :
http://www.python.org/doc/2.3.3/tut/node10.html

Gaël,
 
Reply With Quote
 
 
 
 
Daniel 'Dang' Griffith
Guest
Posts: n/a
 
      05-11-2004
On Tue, 11 May 2004 02:01:51 +0200, Frank Bechstein
<> wrote:

>I hope somebody could tell me how i can make a python script handling
>errors i want that if a error is arise that the script starts all over
>from then beginning and not that is is printing the error.
>
>thank u for helping me!

In addition to reading about exceptions, it might be good to have the
program do something different. Start from a different beginning, so
the error does not happen repeatedly.
--dang
 
Reply With Quote
 
Frank Bechstein
Guest
Posts: n/a
 
      05-11-2004
Thank you! I figured it out
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
signal handling and (structured) exception handling Peter C++ 34 10-17-2009 10:03 AM
python list handling and Lisp list handling Mark Tarver Python 22 04-26-2009 09:36 PM
Is faster handling hexadecimal values than handling chars? Iñaki Baz Castillo Ruby 1 04-15-2008 09:04 AM
Global Error handling in Applicatio_Error() of Global.asax VSK ASP .Net 1 07-29-2003 03:12 AM
Error Handling Kenneth Keeley ASP .Net 0 07-01-2003 03:45 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57