Top "Pickle" questions

An object serialization module for Python.

What is the HTTP "content-type" to use for a blob of bytes?

What is the HTTP "content-type" to use when returning a blob of bytes in response to a client's GET request? …

http http-headers content-type pickle
Python pickle protocol choice?

I an using python 2.7 and trying to pickle an object. I am wondering what the real difference is between the …

python python-2.7 numpy pickle
Is there an easy way to pickle a python function (or otherwise serialize its code)?

I'm trying to transfer a function across a network connection (using asyncore). Is there an easy way to serialize a …

python function pickle
Can Python pickle lambda functions?

I have read in a number of threads that Python pickle/cPickle cannot pickle lambda functions. However the following code …

python python-2.7 lambda pickle
Python: Can't pickle type X, attribute lookup failed

I am trying to pickle a namedtuple: from collections import namedtuple import cPickle class Foo: Bar = namedtuple('Bar', ['x', 'y']) …

python pickle
Python serialization - Why pickle?

I understood that Python pickling is a way to 'store' a Python Object in a way that does respect Object …

python serialization pickle
ImportError: No module named 'pandas.core.internals.managers'; 'pandas.core.internals' is not a package

When I tried to read a pickle file that saved by a former version of pandas, it yielded an ImportError. …

python pandas pickle
pickle - putting more than 1 object in a file?

I have got a method which dumps a number of pickled objects (tuples, actually) into a file. I do not …

python file pickle
Can't find module cPickle using Python 3.5 and Anaconda

I am trying to use cPickle on a windows box, using Anaconda. I am using python 3.5. I am not using …

python anaconda pickle versioning
Cannot load pickled object

The problem I am having is when I try to load the pickled object. I have tried using both pickle.…

python python-3.x pickle