首页 > 编程语言 > 详细

hausaufgabe--python 31 - Pickle

时间:2017-08-26 09:20:34      阅读:334      评论:0      收藏:0      [点我收藏+]

 

 

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 " : "

hausaufgabe--python 31 - Pickle

原文:http://www.cnblogs.com/Shareishappy/p/7421132.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!