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
  • 2,866
  • 9
  • 20
  • 36

0 Answers0