To learn tkinter I\'m making a simple Go game program. I now would like to be able to save a game using pickle, but when I try to pickle my GoBoardModel object
GoBoardModel
Yep, look into the __getstate__ method.
__getstate__
For example, if you want pickle to ignore the 'view' attribute, you'd do the following:
class Whatever(object): def __getstate__(self): state = self.__dict__.copy() del state['view'] return state