DEV Community

Raimon
Raimon

Posted on

Programming Flashcards

Image description

Hey everyone! In this video, I demonstrate a cool flashcard program I built using Python and the Tkinter library. It's a great way to learn and memorize programming terms or any other set of information.

video link: https://youtu.be/ldnk_Csg5Zg

The program randomly presents flashcards with terms on one side and their meanings on the other. You can flip the card to reveal the meaning, and if you already know the term, simply click the 'Known' button to remove it from the deck. It's a fun and interactive way to study!

I've uploaded the complete source code for this project on my GitHub repository, so you can check it out and try it yourself. Here's the link: https://github.com/raimoncoding/flashcard_programming

I hope you find this program interesting and useful. If you enjoy the video, please give it a thumbs up and consider subscribing to my channel for more programming projects and tutorials.

Thanks for watching, and happy learning!

Top comments (1)

Collapse
 
gokayburuc profile image
gokayburuc.dev

maybe you can optimize main.py with these ideas:

  1. Use "dataclass" library
  2. create a common class and put all your code inside it
  3. use if name = "main" as much as possible. this can be a good alternative.
  4. you can add a function to add flashcard .
  5. you can add a function to delete flashcard.
  6. Compile time and runtime measurement ( superfastpython.com/benchmark-exec...)
  7. use flags (tags) instead of adding and deleting cards to csv files.