An open API service indexing awesome lists of open source software.

https://github.com/roalyr/python-test-card-generator

This script generates random test cards from blocks of questions and saves them as a text file.
https://github.com/roalyr/python-test-card-generator

Last synced: 2 months ago
JSON representation

This script generates random test cards from blocks of questions and saves them as a text file.

Awesome Lists containing this project

README

        

# python-test-card-generator
This script generates random test cards from blocks of questions and saves them as a text file.

### How to
Just download and run it with Python3 after inserting questions into the question blocks:
`python3 ./Test_card_generator.py`

A small lifehack: use spreadsheets to organize questions, add `"` and `,` symbols,
then copy question blocks to plain text editor and replace tabs with spaces and copy the result to the script.

### Result
```
Test card № 1
1. Question 2
2. Question 1
3. Question 4

Test card № 2
1. Question 4
2. Question 5
3. Question 3

Test card № 3
1. Question 5
2. Question 6
3. Question 7

Test card № 4
1. Question 1
2. Question 2
3. Question 10
...
```