R
Richard Kessler
I am attempting a GUI using BOA Constructor. I have some simple code to
pickle an object, but for some reason when I use cPickle it hangs the
system, but pickle works just fine. I do not have a clue why cPickle will
not work.
The code is
myObj = MyObject()
myObj.SetSomeProperties
f = open("my file name",'w')
cPickle.dump(myObj,f)
on the cPickle line, all things end, it just goes into the twilight
zone...no errors reported to help diagnose. If I replace cPickle with
pickle, I am OK.
Many thanks in advance if anyone can help me understand the problem.
Richard Kessler
pickle an object, but for some reason when I use cPickle it hangs the
system, but pickle works just fine. I do not have a clue why cPickle will
not work.
The code is
myObj = MyObject()
myObj.SetSomeProperties
f = open("my file name",'w')
cPickle.dump(myObj,f)
on the cPickle line, all things end, it just goes into the twilight
zone...no errors reported to help diagnose. If I replace cPickle with
pickle, I am OK.
Many thanks in advance if anyone can help me understand the problem.
Richard Kessler