Last month, I started learning a Python TUI framework called Textual. After working on a 4x4 board game, I made an interactive app to test your CLI text processing skills with 40 beginner to intermediate level exercises. The app is fairly basic in terms of features — only single input file, so no stdin data, multiple files, etc.<p>Most of the exercises in this app is based on my Computing from the Command Line ebook (<a href="https://learnbyexample.github.io/cli-computing/preface.html" rel="nofollow">https://learnbyexample.github.io/cli-computing/preface.html</a>). I hope to improve the TUI app to support all the 200+ exercises sometime next year.
Last year, I did a similar project for 75 Python regular expressions exercises: <a href="https://github.com/learnbyexample/py_regular_expressions/tree/master/interactive_exercises" rel="nofollow">https://github.com/learnbyexample/py_regular_expressions/tre...</a><p>That was with Tkinter. I'm planning to update the regex book next year (to add new features like possessive quantifiers and other misc changes). Along with this update, I'll probably make a TUI version and add support for rest of the exercises.