The table in one database has 30 fields ,when i write some data into table ,how to handle the ?
in insert string?
many="? ,"*30
many=many[0:-1]
db_str='INSERT INTO the_table VALUES (' + many + ');'
con.executemany(db_str, data)
The db_str is ugly for people to use ,how can i make the code look fine.