阅读背景:

将python dict插入SQLite DB

来源:互联网 

I have a dictionary that I want to add all the values to an sqlite database. All the keys in the dictionary exist in the database, and all the keys are of type string. Yet, I am having trouble with getting the values into the database. The following code is ugly, insecure, and errors whenever it comes across a string with a " in it, but it sort of works. I have a dictionary that I want to add all the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: