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

Re: problem with pickle

2007-07-07 Thread Lawrence Oluyede
K Gaur <[EMAIL PROTECTED]> wrote: > this is what the python interpreter returns on giving the basic > command > > >>>pickle.dump(x,f) where x is a tuple and f is a file object > > Traceback (most recent call last): > File "", line 1, in ? > NameError: name 'pickle' is not defined > > k