November 21st, 2012, 11:15 AM
Pickle help! Classes
Hello, I want to write a class to a file useing pickle, I search the web and spend hours trying to "pickle.dump" it, but it doesnt work! why? After that i want to load it, but I can't even imagine the problems I will get there! Please give me some tips!
November 21st, 2012, 02:40 PM
You'll need to show some code.
What error message do your receive?
November 21st, 2012, 04:30 PM
To do this you need to pickle the instance of the class and your receiving program has to contain the matching class.
Real Programmers always confuse Christmas and Halloween because Oct31 == Dec25