Randomize State Images - Python Tkinter GUI Tutorial #53

in python •  5 years ago 

In this video we'll place our state images on the screen, and set up a randomization sequence that flashes a random state up onto the screen every time the program runs.

We'll start out by creating a python list of all our state names. Then we'll generate a random number in the range of the number of states we have. Next we'll use that random number to call a list item number from our list.

Finally we'll output the image itself on our app.

Easy!

✅ Watch The Entire tKinter Playlist
http://bit.ly/2UFLKgj

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Thank you for sharing the video and other links.. really helping to develop my tkinter skills!! @codemy

Thanks for watching!