hausaufgabe--python 31 - Pickle

 

 

1-- pickle, transfer the target document to binary to save. 

2, pickle_file, write

 

3. pickle_file, read

 

To write a script to separet the text by ":" and save into different files:

 

 

 

 Running result:

 

 

Referred:

http://www.runoob.com/python/att-string-split.html

 

String.split (" : " , num)

num == split times by " : "

posted @ 2017-08-26 06:49  ReedyLi  阅读(139)  评论(0编辑  收藏  举报