In this series we teach you how to create a sketchpad in Python using TKinter. In this video we create a palette using the create_rectangle method. We then attach a tag_bind to these colors so that the user can switch between them. We also create a function using the method delete('all') to clear the contents of the canvas.
TKinter color names:
http://www.science.smith.edu/dftwiki/...
GitHub Repository:
https://github.com/miguelznunez/Paint...
Sponsor me on GitHub!
https://github.com/sponsors/miguelznunez
Follow my blog:
/ miguelznunez
Email : [email protected]
Medium : / miguelznunez
Codepen : https://codepen.io/miguelznunez
GitHub : https://github.com/miguelznunez