Answer the question
In order to leave comments, you need to log in
How to draw graphics primitives with python?
I need some geometric shape - a square or a triangle - to appear on an empty area of the application screen when the left mouse button is pressed. I don't know which is better for this: tkinger or pygame ? Or is there something else?
I'm pretty good at working with the pygame library , but I don't have any experience with tkinter and don't know if this library is right for me. Tell me, please, which is better to choose?
Answer the question
In order to leave comments, you need to log in
Then why tkinter, in pygame you can draw these primitives
https://www.pygame.org/docs/ref/draw.html
You can use both tkinter and pygame to draw.
But if you don't know tkinter use pygame:
drawing primitives in pygame
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question