peace <abhishek1...@gmail.com> 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 and conquer":
i.e. you split the complete scenario into segments and analyse each
segment to find out where the bad thing happens.

Related to pickle, there is one point to lock at closely: where
you "dump" the data. Verify, that you are dumping the correct (expected) data.
If the data is not as you expect at that point, you must analyse
the first part (from where the data was produced up to the dumping point);
on the other hand, if the dumped data is correct, you would verify
that "load" restores this same data (this will be very likely the case)
and if it does why it became wrong afterward.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to