Re: Problem with pickle and restarting a program

2014-03-22 Thread dieter
peace writes: > On Thursday, March 20, 2014 1:20:03 AM UTC-7, dieter wrote: > ... >> You may want to use debugging to determine what goes on in detail. > ... > I tried doing that. I still could not figure out what was wrong. Thank you. Debugging is often not easy. An essential strategy is "divide

Re: Problem with pickle and restarting a program

2014-03-20 Thread peace
On Thursday, March 20, 2014 1:20:03 AM UTC-7, dieter wrote: > Peace <> writes: > > > ... > > > The serial number field always remains empty even though I enter from the > > GUI and the receiveSerialNumber function is called and I explicitly > > initialize it to the variable in the model. > > >

Re: Problem with pickle and restarting a program

2014-03-20 Thread dieter
Peace writes: > ... > The serial number field always remains empty even though I enter from the GUI > and the receiveSerialNumber function is called and I explicitly initialize it > to the variable in the model. > I'm trying to save the state of the program so that next time I open the > applic

Problem with pickle and restarting a program

2014-03-19 Thread Peace
In my GUI, the user enters two values: cellNumber(Integer) and SerialNumber(String) I have the following piece of code in my view/controller: The following function is called after the user enters the cellnumber and serial number## def ListenForDetails(status):

Re: Restarting a program

2008-05-22 Thread Geoldr
On May 22, 11:58 am, Mike Driscoll <[EMAIL PROTECTED]> wrote: > On May 22, 1:38 pm, Geoldr <[EMAIL PROTECTED]> wrote: > > > > > On May 22, 10:07 am, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > On May 22, 10:59 am, Geoldr <[EMAIL PROTECTED]> wrote: > > > > > Hello all, I have written a simple p

Re: Restarting a program

2008-05-22 Thread Mike Driscoll
On May 22, 1:38 pm, Geoldr <[EMAIL PROTECTED]> wrote: > On May 22, 10:07 am, Mike Driscoll <[EMAIL PROTECTED]> wrote: > > > > > On May 22, 10:59 am, Geoldr <[EMAIL PROTECTED]> wrote: > > > > Hello all, I have written a simple program, and at the end of it, > > > instead of it closing I would like i

Re: Restarting a program

2008-05-22 Thread Geoldr
On May 22, 10:07 am, Mike Driscoll <[EMAIL PROTECTED]> wrote: > On May 22, 10:59 am, Geoldr <[EMAIL PROTECTED]> wrote: > > > Hello all, I have written a simple program, and at the end of it, > > instead of it closing I would like it to restart from the beggining. > > Is there a way to do this? Put

Re: Restarting a program

2008-05-22 Thread Mike Driscoll
On May 22, 10:59 am, Geoldr <[EMAIL PROTECTED]> wrote: > Hello all, I have written a simple program, and at the end of it, > instead of it closing I would like it to restart from the beggining. > Is there a way to do this? Put my code into a class function, or > something? > I guess I could do a wh

Restarting a program

2008-05-22 Thread Geoldr
Hello all, I have written a simple program, and at the end of it, instead of it closing I would like it to restart from the beggining. Is there a way to do this? Put my code into a class function, or something? I guess I could do a while loop, but I think if there is a way to run my code if it's in