Having an interactive program that automatically loads questions and checks the solution is wonderful to have while learning a topic. This TUI app has beginner to intermediate level exercises and multiple-choice questions for Python learners.

Sample screenshot for Python exercises

warning warning This is a work-in-progress project.


Installation🔗

Install textual (see Textual documentation for more details), clone this repository and run the python_exercises.py file. You'll need to install textual[syntax] to enable syntax highlighting (see documentation for more details).

TODO: PyPI app

Adjust the terminal dimensions for the widgets to appear properly, for example 84x25 (characters x lines). Here's another screenshot:

Sample screenshot for Python exercises

Guide🔗

See app_guide.md for instructions.


Ebook🔗

The exercise and quiz questions in this app have been adapted from my 100 Page Python Intro ebook.


Feedback🔗

I'd highly appreciate your feedback. Please file an issue if there are bugs, crashes, etc.

Hope you find this TUI app useful. Happy learning :)