Posts by Guilherme Gomes • 37 points
6 posts
-
0
votes1
answer368
viewsQ: How to update the Tkinter window?
I made a program that plays dice. I used the graphical library Tkinter to create buttons and Labels. I use the button to activate a function that generates a random number, but the label does not…
-
-2
votes1
answer67
viewsQ: Python: Error in . write() method
I wrote a code that would run on my Desktop. The script would write a text in another directory. To switch directories, I used os.chdir(), then used subprocess.check_output() to execute a shell…
-
-1
votes1
answer1227
viewsQ: PYTHON: Nameerror: name "..." is not defined, but I defined the function
I’m trying to make a little snake game out of Python. I used the Tkinter library and, to register the pressing of a key, I used the bind() function that executes an event after a key is pressed. I…
-
-1
votes1
answer128
viewsQ: PYTHON - How to pass a parameter?
I’m trying to assemble the game of the copper using python, but I came across a problem that completely blocked my code. I used the Tkinter library and all its functions to create the game, follow…
-
2
votes2
answers426
viewsQ: Lists in PYTHON
I’m using lists to do a little programming. Initially I wanted to make a program that created as many variables as the person wanted, but I found an easier way. I thought I’d create a list and add…
-
1
votes1
answer355
viewsQ: Error using socket.recv()
I am learning about python servers and I am using the socket library. But when I use the command socket.recv(1024) for the server to read what the client sent, idle gives the following error:…