#!/usr/bin/python
# -*- coding: UTF-8 -*-

'''

'''
import pickle

# pickle 只能Python识别 不适用于别的语言
li = [11, 22, 33, 433, 'sd']
r = pickle.dumps(li)
print(r)
print "*******"
result = pickle.loads(r)
print(result)


运行结果:
(lp0
I11
aI22
aI33
aI433
aS'sd'
p1
a.
*******
[11, 22, 33, 433, 'sd']