Posts by Marinaldo • 75 points
7 posts
-
0
votes1
answer202
viewsA: Screen printed products in Tkinter-Python
Every time you urge janela = Tk() you open a new window. bt1 = Button(janela2, text = "Voltar", command = janela2.destroy) can solve your problem yes. Maybe using Toplevel(master) instead of Tk() is…
-
1
votes1
answer508
viewsA: How do I focus on Toplevel open Tkinter?
I found the answer in this link: https://stackoverflow.com/questions/5554954/toplevel-window-in-python-keeps-appearing-under-the-root-window So I went looking and I found this…
-
2
votes2
answers443
viewsA: How do I take data from an Entry and add it to the Database (sqlite3)
You tried to use the attributes get name.() and get age.()? It will return the contents of Entry. You can use something like enviar = Button(jan, text='Enviar', command=lambda e: enviar(nome.get(),…
-
1
votes1
answer1296
viewsA: Python Tkinter: Window works perfectly but does not close after performing a function
I resolved partially, simply by placing the window that should close as parameter. So I play straight in root and do not need anything extra. Now it’s another. def editar (self, event=None, jan =…
-
0
votes1
answer1296
viewsQ: Python Tkinter: Window works perfectly but does not close after performing a function
code: def editar (self, event=None): ob = self.buffer(opcao=2) if (ob[1] == None): return elif (ob[0] == None): return root = Tk() root.withdraw() for o in self.lista: if (ob[0].codigo.upper() ==…
-
0
votes1
answer389
viewsQ: Python GUI: request interface and or ide tips for this
I’m redoing a small project I had done in Java, but now in Python. I’m learning everything from scratch and alone. I need help with this part. What interface do you recommend? Do you have an IDE…
-
3
votes1
answer6899
viewsQ: Python: How to correctly import one method that depends on another?
I’m on the reboot of a project I did in Java, seeking to learn about Python in POO, but I’m stuck on something I haven’t found any solution yet: I have 2 files ("working.py" and ".py files"). The…