This CLI tool takes a CSV file with columns for topic, explanation, and code snippet, then produces a set of interactive Python exercises (fill-in-the-blank, multiple choice, code output prediction). Ideal for educators and self-learners who want to create custom drills without writing any exercise logic.
Features
- CSV input — specify topics, explanations, and code snippets in a simple CSV file
- Exercise types — generates fill-in-the-blank, multiple choice, and output prediction questions
- Randomized order — shuffles questions and answer choices each run
- Score tracking — displays correct/incorrect counts and percentage at the end
- Customizable difficulty — add a ‘difficulty’ column to filter exercises by level
Usage
python edu_cli.py --input exercises.csv --type fill_blank
Requirements
Python 3.8+. Install dependencies:
pip install -r requirements.txt
Download
Buy once, download immediately. ZIP includes the full script, README, and usage examples.
License
Personal & Commercial Use. You may use this tool in your own personal and commercial projects. Redistribution or resale of the source code is not permitted.