sqlite attribute execute is read-only
问题 I am using sqlite to create and connect to a sqlite db foo.db When I try to do an insert into the DB. I get the following AttributeError AttributeError: 'sqlite3.Cursor' object attribute 'execute' is read-only I can't seem to find any information on this error. Does anyone have any idea what this exception means? I am using python 2.7 with virtualenv. The following is the code I am trying to execute assume date is a string. username = 'user' pwdhash = some_hash_function() email = 'user@foo