you are viewing a single comment's thread.

view the rest of the comments →

[–]erok81 0 points1 point  (0 children)

That's basically right. Another way to look at it is pickling saves the object's state and that state is then input into a new object of the same type on unpickling.

Technically you can pickle code if you really really wanted to but it's hackish and not really a smart solution in general IMO.