Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

Like, I understand your frustration like I get I'm asking a lot of questions and I'm trying not to make stupid wasteful ones hence why there's usually a 10 minute delay on my responses, not only that ...
Melford GUI 27 7,508 Jan-22-2020, 07:49 PM
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

Well the reason I removed it is because it says: Error: File "C:/Users/jumbu/Desktop/python/test.py", line 24, in submit c.commit() AttributeError: 'sqlite3.Cursor' object has no attribute 'commi...
Melford GUI 27 7,508 Jan-22-2020, 07:40 PM
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

Well I've had a look and read through the document you referred me to, after reading through it all either its outdated as close() doesn't seem to work but quit() does, on top of that after adding the...
Melford GUI 27 7,508 Jan-22-2020, 07:21 PM
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

My apologies, I skipped the def submit line assuming you had meant the indentations; not too sure why thinking about it, I understand its probably annoying you because it annoys me out of all the subj...
Melford GUI 27 7,508 Jan-22-2020, 05:50 PM
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

Okay so now I'm getting this error: Error:Traceback (most recent call last): File "C:\Users\jumbu\AppData\Local\Programs\Python\Python37-32\lib\tkinter\__init__.py", line 1705, in __call__ retu...
Melford GUI 27 7,508 Jan-22-2020, 05:28 PM
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

Okay so I've put the code together, I thought maybe it'd be the submit button which is causing the error but apparently its the indent however it doesn't like being alone? Error: File "C:/Users/jumbu...
Melford GUI 27 7,508 Jan-22-2020, 05:04 PM
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

Sorry I'm not really sure how to implement that? would you mean replacing val1 = l1.get() with StringVars1 = l1.get()?
Melford GUI 27 7,508 Jan-22-2020, 04:04 PM
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

Thanks for the feedback @Denni, I had asked a question before as I'm trying to learn as much as possible from integrating a database via GUI for an assignment in like May or something, just want pract...
Melford GUI 27 7,508 Jan-22-2020, 03:40 PM
    Thread: Database Submit Entry Syntax Error
Post: RE: Database Submit Entry Syntax Error

UPDATE: I found the syntax error and renamed def b3 to the following: def submit(): c.execute("INSERT INTO Expense_Data.db VALUES :l1, :l2, :l3, :l4")( { 'l1': l1.get(), ...
Melford GUI 27 7,508 Jan-22-2020, 05:10 AM
    Thread: Database Submit Entry Syntax Error
Post: Database Submit Entry Syntax Error

Hi, hopefully quick and simple; I'm currently trying to assign a preexisting button to an execute function which uploads data filled in via GUI to an already existing database however I'm receiving a ...
Melford GUI 27 7,508 Jan-22-2020, 03:02 AM
    Thread: TypeError: 'Table' object is not callable
Post: RE: TypeError: 'Table' object is not callable

Yeah I'll just fiddle around with the column and row numbers and see which fit where, do you think the width of the window will make a difference? Outside of that though thank you so much for your hel...
Melford GUI 17 11,721 Jan-21-2020, 09:35 PM
    Thread: TypeError: 'Table' object is not callable
Post: RE: TypeError: 'Table' object is not callable

Oh god, that looks horrible, I was hoping it'd looking more like this: [Image: https://i.gyazo.com/f3de284492f2f039cd23...4b4c6b.png] I'm assuming it might have something to do with: list1 = Listbo...
Melford GUI 17 11,721 Jan-21-2020, 09:18 PM
    Thread: TypeError: 'Table' object is not callable
Post: RE: TypeError: 'Table' object is not callable

just read your response give me a mo to check it Oh okay, so by changing b1 = Button(window, text="Search Entry", width=12) b1 = grid(row=3, column=3) b1 = Button(window, text="Add Entry", width=12...
Melford GUI 17 11,721 Jan-21-2020, 09:03 PM
    Thread: TypeError: 'Table' object is not callable
Post: RE: TypeError: 'Table' object is not callable

This'll be the last time I annoy you, following the link you sent me; I've used the same format as the link you've shown however it's saying in the error log 'grid' is not defined. I've checked the In...
Melford GUI 17 11,721 Jan-21-2020, 08:55 PM
    Thread: TypeError: 'Table' object is not callable
Post: RE: TypeError: 'Table' object is not callable

Please explain error tags, would you mean Error: for the forum? Also the weird imports are from PyCharm, I've been using the little light bulb which gives me options such as formatting and different ...
Melford GUI 17 11,721 Jan-21-2020, 08:49 PM
    Thread: TypeError: 'Table' object is not callable
Post: RE: TypeError: 'Table' object is not callable

Umm, so I did what you said and it doesn't show any running errors for the list however the traceback error has just imploded, cause its saying line 261 etc for some things I'm assuming its a plugin e...
Melford GUI 17 11,721 Jan-21-2020, 08:34 PM
    Thread: TypeError: 'Table' object is not callable
Post: RE: TypeError: 'Table' object is not callable

Here is the full traceback error: Traceback (most recent call last): File "C:/Users/name/Desktop/python", line 38, in <module> list1 = ListBox(window, height=35, width=35) TypeError: 'Tab...
Melford GUI 17 11,721 Jan-21-2020, 07:59 PM
    Thread: TypeError: 'Table' object is not callable
Post: TypeError: 'Table' object is not callable

Hi, I've been trying to make a GUI interface which is updatable and connected to SQLite however I'm receiving the following error: TypeError: 'Table' object is not callable It may be a stupid error b...
Melford GUI 17 11,721 Jan-21-2020, 07:41 PM

User Panel Messages

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