diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-07-17 19:06:11 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-07-17 19:06:11 +0200 |
| commit | 927c0df42db96a7e661e30aae90ec9f52d83dc37 (patch) | |
| tree | 99532c47fd789ad0cb1c4c4492841c555c7bae25 /Readme.md | |
| download | quiz-927c0df42db96a7e661e30aae90ec9f52d83dc37.tar.gz quiz-927c0df42db96a7e661e30aae90ec9f52d83dc37.zip | |
initial commit
Diffstat (limited to 'Readme.md')
| -rw-r--r-- | Readme.md | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..5b9aeaa --- /dev/null +++ b/Readme.md @@ -0,0 +1,40 @@ +# simple interactive quiz + +The script was designed for prompting simple Questions from the german Känguru +math contest. It displays questions from picture or PDF files and uses a simple +GUI to prompt for the correct solution. + +## Preparations + +Before using quiz.py one must arrange a pool of question files. +The simplest way to specify the solution for each question is to create a +solutions file called `solutions.csv` in the same directory as the questions. +The solutions file must provide the fields `question,solution`. + +## Usage + +``` +usage: quiz.py [-h] [-s SOLUTION_FILE] [--select SELECT] [question_dir ...] + +positional arguments: + question_dir + +options: + -h, --help show this help message and exit + -s SOLUTION_FILE, --solution-file SOLUTION_FILE + --select SELECT +``` + +By default quiz.py considers the current working directory the question directory and treats all present files as questions. + +## Requirements + +* PySimpleGUI + +## License + +The quiz.py program is licensed under the terms of the GNU General Public License +version 3. A Copy of the license is included in the `LICENSE` file. + +The sound [Wrong.mp3](https://freesound.org/people/LittleRainySeasons/sounds/335906/) licensed under the terms of the Creative Commons 0 License. +The sound [Correct.mp3](https://freesound.org/people/milton./sounds/77103/) by Milton Paredes is licensed under the terms of the Attribution NonCommercial 3.0 License. |
