【发布时间】:2014-07-31 07:21:22
【问题描述】:
我有一个文件hash_db.pickle,当我创建它时,我在上面保存了一本字典:
v = {hash_value:{"file name":file_name,"file size":file_size,"last scanned time":scanned_time}}
{123dfre345:{"file name":calc.pdf,"file size":234,"last scanned time":12:23 24/12/2013}}
{3gcdshj754:{"file name":star.pdf,"file size":10,"last scanned time":10:30 10/10/2013}}
所以如果我只想从文件中更改last scanned time 为3gcdshj754
我该怎么做?
【问题讨论】:
-
这可能会有所帮助。 stackoverflow.com/questions/11218477/…