摘要:
import shelvef = shelve.open(r'shelve') #新建shelve.dat,shelve.bak,shelve.dir三个文件 目的:将一个字典放入文本 f={}f["name"] = ("zsz","alex","sb")f["age"] = 18f.close()f = shelve.open(r'shelve')print(f.get("name"... 阅读全文
posted @ 2018-08-02 13:31
NOV流雨
阅读(111)
评论(0)
推荐(0)
2018年8月2日