Posts by Adrien • 31 points
5 posts
-
0
votes1
answer78
viewsQ: Access a hash/list in a class
Hello. I’m an intermediate student in python, and recently I started studying Ruby, but like all new language, there are some small difficulties. My question is: Where is the error in this? I used…
-
1
votes1
answer339
viewsQ: Abort a specific Thread
How do I interrupt a specific thread? for example: from _thread import * from time import sleep result = 0 def soma(nome, numero, delay): global result while True: result += numero print('{}: {}…
-
0
votes2
answers926
viewsQ: limit the number of digits Entry - Tkinter
Hello. How do I limit the number of digits I can put into one Entry module Tkinter? from tkinter import * root = Tk() entrada = Entry(root) #Quero limitar para que nesse entry, possa colocar apenas…
-
0
votes1
answer836
viewsQ: Export a dictionary to file . txt
Hello. I would like to know how I export a dictionary to a file. txt. and how to import the data that is in the.txt file into the dictionary in the program. When I care, the dictionary gets all…
-
2
votes2
answers901
viewsA: How to hide a Widget?
Hello! I started studying the module tkinter yesterday, unfortunately I have that same doubt. But I did that famous 'gambiarra' rsrs: from tkinter import * root = Tk() texto = Label(root, text =…