Click here to Skip to main content
15,910,980 members

Comments by Rithikvg (Top 5 by date)

Rithikvg 23-Jun-20 11:50am View    
Dear Friend,
Thanks for your kind support. But still, I am getting following error msg
//cursor = con.cursor(prepared=True)
^
SyntaxError: invalid syntax
Rithikvg 22-Jun-20 22:26pm View    
Dear Friend,
Sorry to disturb you, still I got the following error msg
Traceback (most recent call last):
File "./insertDB.py", line 19, in <module>
cursor = con.cursor(prepared=True)
TypeError: cursor() got an unexpected keyword argument 'prepared'
Rithikvg 22-Jun-20 22:06pm View    
Hi,
Thanks for your reply. I tried with your code. But I am getting following error msgTraceback (most recent call last):
File "./insertDB.py", line 20, in <module>
cursor = connection.cursor(prepared=True)
NameError: name 'connection' is not defined
Rithikvg 22-Jun-20 21:57pm View    
Deleted
HiThanks for your kind support.
I have tried your code. But I am getting below error
File "./insertDB.py", line 20
cursor = connection.cursor(prepared=True)
^
IndentationError: expected an indented block
Rithikvg 22-Jun-20 21:35pm View    
Thanks for your reply. I want to update the values in a single table within a DB.
I have tried with the youtube guide. I have seen Auto_Increment in column name " Extra " column. But I could not find out the column Name "Extra" while creating the table. So I am not filled the Auto_increment. Please help me to create the Auto_increment in the column Name Extra