binary alternative to pickle?

Erik Max Francis max at alcyone.com
Wed Jul 28 00:04:14 CEST 2004


Darren Dale wrote:

> I think I must have overlooked some utility. In Matlab, you can save
> some or all existing variables into a binary file, which loads very
> quickly. Is it possible to do the same with Python? Ive looked at
> cPickle, which is really slow, and marshal claims that my objects are
> unmarshable. Are there other alternatives to save work in progress?

Use cPickle with one of the latest protocol versions.

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ I grow with each breath that I take / I cherish my freedom
    -- Chante Moore



More information about the Python-list mailing list