Source

testgen /

Filename Size Date modified Message
66 B
407 B
1.1 KB
644 B
336 B
1.3 KB
2.2 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:

%%e

%%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.