How can i insert a single data into a Mysql table using Python?

前端 未结 0 750
北海茫月
北海茫月 2021-01-02 03:37

I have tried this code but i receive the 1064 error.

x_1=**********    
t_2=(x_1)
cursor.execute(\'insert into informations\' \'(password)\' \'values (%s)\',t         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题