Using SQLite in a Python program

后端 未结 8 761
逝去的感伤
逝去的感伤 2020-12-31 06:28

I have created a Python module that creates and populates several SQLite tables. Now, I want to use it in a program but I don\'t really know how to call it properly. All the

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-31 07:18

    Yes, I was nuking out the problem. All I needed to do was check for the file and catch the IOError if it didn't exist.

    Thanks for all the other answers. They may come in handy in the future.

提交回复
热议问题