Randomize State Images - Python Tkinter GUI Tutorial #53

avatar

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



0
0
0.000
0 comments