Python Forum
how to use items combobox in table name sqlite in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to use items combobox in table name sqlite in python
#1
Hello
I'm developing a small application to manage my student class with python and sqlite3. I put the list of names of my classes in a combobox I retrieve the selected class in a variable but I cannot insert this variable in a sqlite3 request:
cursor.execute ("INSERT INTO mavariable ('Note', 'First name', 'Name', 'Number') VALUES (?,?,?,?)", (Number, First name, Name, Note))
thanks for the help
Reply
#2
Please, show supporting code
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to get all items in SharePoint recycle bin by using sharepy library in Python? QuangHuynh 2 1,499 Apr-10-2024, 03:09 PM
Last Post: SandraYokum
  need help with data analysing with python and sqlite Hardcool 2 1,044 Jan-30-2024, 06:49 AM
Last Post: Athi
  python sqlite autoincrement in primary column janeik 6 3,065 Aug-13-2023, 11:22 AM
Last Post: janeik
  Removal of items in .txt using python nanakochan 8 12,202 Sep-02-2022, 04:58 PM
Last Post: perfringo
  Help with subtracting values using SQLite & Python Extra 10 5,317 May-10-2022, 08:36 AM
Last Post: ibreeden
  [Solved]Help with search statement-SQLite & Python Extra 1 1,891 May-06-2022, 07:38 PM
Last Post: Extra
  Help With Python SQLite Error Extra 10 23,358 May-04-2022, 11:42 PM
Last Post: Extra
  Python Sqlite georgebijum 0 1,616 May-04-2022, 10:12 AM
Last Post: georgebijum
  UPDATE SQLITE TABLE - Copy a fields content to another field. andrewarles 14 6,364 May-08-2021, 04:58 PM
Last Post: ibreeden
  concatenating 2 items at a time in a python list K11 3 3,228 Oct-21-2020, 09:34 AM
Last Post: buran

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020