[Tutor] cPickle/pickle help

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Apr 4 20:16:14 CEST 2012


On 04/04/2012 18:25, b. nyec wrote:
> Hello,
>
> I'm not sure if this is the correct list to post this on, but i was wondering i someone could help me. I'm wondering if there exists a pickler example written in C ? I understand the cPickle module was written in C, but looking at it seems daunting to create sample code from it. I found a post on this list here: http://mail.python.org/pipermail//tutor/2011-September/085414.html that shows an example of pickling data to disk. I'm wondering if that's pickle or cPickle (protocol version?) ?? What i'm trying to do is write a client in C that will send pickled data to a server written in python for unpicking over TCP. I'm still learning this stuff (pickle/serialization) as i go (i have zero knowledge of python), so apologies if i'm not making any sense as i've had trouble finding help on other
>   places when explaining what i'm trying to accomplish. If this is off topic, feel free to e-mail me privately and i could explain in more detail without adding noise to
>   this list.
>
> Thanks for any help.
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>

You're probably better off asking on comp.lang.python but the advice 
will almost certainly be don't do it see e.g. 
http://www.velocityreviews.com/forums/t944852-re-re-advise-of-programming-one-of-my-first-programs.html

-- 
Cheers.

Mark Lawrence.



More information about the Tutor mailing list