testgen /

Filename Size Date modified Message
66 B
407 B
1.1 KB
644 B
336 B
1.3 KB
2.3 KB

The testgen.py module provides a set of utilities for creating tests from a set of testbanks. A testbank is a text file with labelled questions. The format of the testbank is:


%%b <label2> Question 2 %%e ~~~~~

A call to testgen.parseQuestionBank(f) where f if a file object referring to the test bank, will return a dictionary of label:question relations.