0

I am having a problem with this piece of code that produces the error below

import sqlite3

connection = sqlite3.connect('test.db')

Error:

Undefined variable from import: connect

I don't know what I am doing wrong since the code is almost completely identical to the sample in the documentation.

Clone
  • 3,378
  • 11
  • 25
  • 41

0 Answers0