[Baypiggies] pickle misbehavior

Aahz aahz at pythoncraft.com
Mon Dec 20 00:32:01 CET 2010


On Sun, Dec 19, 2010, Vikram K wrote:
>
> Also tried with f = open('totalpepfinalpickle.txt', 'rb') and got the usual
> error:
> 
> Traceback (most recent call last):
>   File "C:\Users\K\filtertest3.py", line 42, in <module>
>     x = pickle.load(f)
> ValueError: insecure string pickle

Sorry, no time to backtrack to the earlier post, but did you make sure
that the pickle was *written* in binary mode?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Think of it as evolution in action."  --Tony Rand


More information about the Baypiggies mailing list