Shelve is only wants to open files for writing

前端 未结 0 1824
醉酒成梦
醉酒成梦 2020-12-03 10:27

I have a machine learning model saved in a shelve file and I want to open it to make some predictions. Normally what I do is:

with shelve.open(file) as shlv:
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题