Posts by PedroMiotti • 150 points
4 posts
-
1
votes1
answer641
viewsA: Python-Tkinter. how to close a window using the code and not the close button?
You can use it : container.destroy()
-
0
votes1
answer141
viewsA: Save contents of a Listbox to mysql database
Diunior, in my opinion the error is occurring here : listcod = self.ListCodBrGer.get(ALL) should be like this : listcod = self.ListCodBr.get(0, END) as I don’t understand much of mysql I can’t tell…
-
0
votes2
answers443
viewsA: How do I take data from an Entry and add it to the Database (sqlite3)
Good morning! You can do it this way : First you have to create a Stringvar() for your entry, then Voce can add to the database creating the Stringvar() var1 = StringVar() Creating the Entry nome =…
-
1
votes1
answer901
viewsA: How to delete a table row in sqlite3?
Good morning ! Your code had many errors so I just rewrote some parts, now I think it’s working according to what Oce wants ! from tkinter import * from tkinter import ttk import sqlite3 conn =…