Posts by Leonardo • 89 points
5 posts
-
4
votes3
answers2746
viewsQ: How to write HTML as text within a div?
For example I have the div: <div class="option" id="resposta-1" onclick="mudaConteudo()"></div> I would like to write without html recognizing as a tag but rather a text: <div…
-
1
votes0
answers1062
viewsQ: Error: "sqlite3.Operationalerror: no such table"
I’m making the following mistake: sqlite3.Operationalerror: no such table: product I already checked in my database, the product table is there Code: from tkinter import * from tkinter import ttk…
-
-4
votes2
answers197
viewsQ: What is the range defined by range in Python?
When I define for i in range (5): My range will run through 0,1,2,3,4,5 or 1,2,3,4,5
python-3.xasked Leonardo 89 -
2
votes1
answer175
viewsQ: Problems to develop a Bricks Breaking-style game on Tkinter (collisions with objects)
I’m a few days studying and trying to get the ball to hit the rectangles from above they fade and invert the side from tkinter import * from constantes import * import random class Jogo(): def…
-
0
votes1
answer780
viewsQ: How do I make an object move on the screen using Tkinter?
I’ve already started my code only I don’t know what’s going wrong so that my object doesn’t move #Praticar movimentação de objetos from tkinter import* class Bola(object): def __init__(self):…