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 : mignunez@csumb.edu
Medium : / miguelznunez
Codepen : https://codepen.io/miguelznunez
GitHub : https://github.com/miguelznunez
Sur cette page du site, vous pouvez voir la vidéo en ligne Python - Desktop Paint App Tutorial for Beginners with TKinter - Part 2/2 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Web Dev Tutorials 20 juillet 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,686 fois et il a aimé 190 téléspectateurs. Bon visionnage!