Am 18.10.2012 10:42, schrieb Philipp Singer:
> Am 17.10.2012 20:57, schrieb Kenneth C. Arnold:
>
>> import cPickle as pickle # faster on Py2.x, default on Py3.
>> with open(filename, 'wb') as f:
>>     pickle.dump(obj, f, -1)
>>
>> The -1 at the end chooses the latest file format version, which is more
>> compact.
> What exactly does "-1" do? I guess that's the protocol. I have always
> used 2 in this case. Didn't know about -1.
>
It's "latest". read the friendly manual ;)

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to