skip to main
|
skip to sidebar
Thoughts and Practices
Pythoner on the road to distributed computing
Tuesday, April 27, 2010
persistent_id of cPickle
cPickle’s persistent_id must return a string in one line, or load will raise a truncated exception. So you can use base64.b64encode to encode your result in to one line string. Base64.encode returns multi-line result.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Unknown
View my complete profile
Subscribe To
Posts
Atom
Posts
Comments
Atom
Comments
Labels
amazon
(1)
amqplib
(1)
amule
(1)
autoscaling
(1)
AWS
(3)
Babel
(1)
cloud
(1)
cloudwatch
(1)
code review
(1)
cookie
(1)
decorator
(1)
ec2
(1)
hudson
(1)
log
(1)
mac
(2)
mako
(13)
pickle
(1)
PyCharm
(1)
pylint
(1)
pylons
(10)
pyramid
(47)
python
(69)
rsync
(1)
SAE
(3)
sendmail
(1)
setuptools
(1)
slideshare
(1)
SQLAlchemy
(1)
subversion
(1)
threadpool
(2)
ubuntu
(5)
unit testing
(5)
unittest
(1)
Vagrant
(2)
virtualbox
(1)
zim
(1)
中文
(1)
Blog Archive
►
2014
(2)
►
January
(2)
►
2013
(21)
►
December
(5)
►
November
(6)
►
October
(1)
►
September
(2)
►
July
(1)
►
May
(2)
►
April
(3)
►
March
(1)
►
2012
(41)
►
September
(1)
►
July
(2)
►
June
(1)
►
May
(1)
►
April
(24)
►
March
(12)
►
2011
(21)
►
August
(3)
►
July
(5)
►
April
(3)
►
March
(10)
▼
2010
(8)
►
May
(5)
▼
April
(3)
persistent_id of cPickle
Little tip of Mako template
Confusion about amqplib properties
No comments:
Post a Comment