I am getting the mentioned error in the Atom code editor. It is very strange because the same code works perfectly in Sublime Text, but in Atom it says that the column does not exist. I have searched for information but only found this similar question but they don't give answer, do I have to configure something in the editor? Here is the code that gives me the error:
import sqlite3
BDConnect = sqlite3.connect("XLDB.db")
Cur = BDConnect.cursor()
BDConnect.close
data = Cur.execute("SELECT NOMBRE,FECHA,TIPOLOSA FROM CALCULOS")
Throws me: sqlite3.OperationalError: no such table: CALCULOS.
I am using Script package.