Re: Resuming a program's execution after correcting error
- From: "Jay" <jaysherby@xxxxxxxxx>
- Date: 28 Sep 2006 11:14:58 -0700
I don't know how much help this is going to be, but you could store
values in a temporary file on the hard disk and write checkpoints to
read in the data and begin from a point somewhere in the middle of the
script.
Sheldon wrote:
Hi.
Does anyone know if one can resume a python script at the error point
after the error is corrected?
I have a large program that take forever if I have to restart from
scratch everytime. The error was the data writing a file so it seemed
such a waste if all the data was lost and must be recalculated again.
Sincerely,
Sheldon
.
- References:
- Resuming a program's execution after correcting error
- From: Sheldon
- Resuming a program's execution after correcting error
- Prev by Date: Re: using the email module
- Next by Date: how do you know if open failed?
- Previous by thread: Re: Resuming a program's execution after correcting error
- Next by thread: startswith() and endswith() for re's would be more intuitive
- Index(es):