Build a Geography Flashcard App Part 4 -- Randomize Images - Python Tkinter GUI Tutorial #55

preview_player
Показать описание
In this video we'll randomize the images after a user types in an answer.

Before we had to click the "Pass" button to get a new flashcard. We'll change the code so that the flashcard updates automatically whenever someone types in and answer and submits it.

We'll also tinker with the color scheme of the app a little bit to make everything white..just for fun!
Рекомендации по теме
Комментарии
Автор

Hey John, I'm enjoying your series and learning lots while having fun. As a educational tool, the flashcards app went a bit south in this video. 1) If a student's answer is wrong, and we intend to supply the correct answer, then the original image needs to stay on the screen so the student has the opportunity to learn to associate the correct answer with the image. Replacing the image with a new state image further confuses. 2) Based on how the filenames are stored (lower case, no spaces), the .title() method produces answers like "Newyork, " which is funky for learning. I'll try to figure it out and share. Thanks for the gift of education. Your videos are greatly appreciated. :)

johngiangrande
Автор

Nice one will start building after the whole series.

unchart_d
Автор

I dunno, why others didn't ask but if we are randomizing images we get the same image again right like there are chances for that, and who wishes to enter the answer again for the same...
so, sir is there a way to give the next image itself rather than randomizing?

aneeshmalapaka
Автор

hey question for the states list couldn't i use "our_states = open('states.json')" to open a json file instead of having to hard code the states into the python file and or use it to store a value of if im getting it right or wrong for later use?

Fun-divm
Автор

We can use "constant" names, for example, BOTH and END instead of "both" and "end" strings. Nothing changes. Just a possibility.

slobodantajisic
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:

Codemycom
visit shbcf.ru