Top "Pickle" questions

An object serialization module for Python.

Is there a way to view cPickle or Pickle file contents without loading Python in Windows?

I use cPickle to save data sets from each run of a program. Since I sometimes need to see the …

python pickle
How to Reduce the time taken to load a pickle file in python

I have created a dictionary in python and dumped into pickle. Its size went to 300MB. Now, I want to …

python performance pickle
What are the different use cases of joblib versus pickle?

Background: I'm just getting started with scikit-learn, and read at the bottom of the page about joblib, versus pickle. it …

python pickle scikit-learn
Python, how to handle the "ValueError: unsupported pickle protocol: 4" error?

I'm new to Python. I've to run this TargetFinder script ("Custom Analyses"). I installed all the required python packages, and …

python centos pickle
Python pickling after changing a module's directory

I've recently changed my program's directory layout: before, I had all my modules inside the "main" folder. Now, I've moved …

python pickle
Hitting Maximum Recursion Depth Using Pickle / cPickle

The background: I'm building a trie to represent a dictionary, using a minimal construction algorithm. The input list is 4.3M …

python recursion tree pickle depth
I can "pickle local objects" if I use a derived class?

The pickle reference states that the set of objects which can be pickled is rather limited. Indeed, I have a …

python python-3.x nested pickle
What does it mean for an object to be picklable (or pickle-able)?

Python docs mention this word a lot and I want to know what it means! Googling doesn't help much..

python pickle
Usage of pickle.dump in Python

I'm trying to learn how to use the pickle module in Python: import pickle x = 123 f = open('data.txt','w') …

python serialization pickle python-3.2
What is the difference between pickle and shelve?

I am learning about object serialization for the first time. I tried reading and 'googling' for differences in the modules …

python object pickle shelve object-serialization