Skip to content

str.format

Pre-release
Pre-release
Compare
Choose a tag to compare
@cghiaus cghiaus released this 18 Oct 04:35
· 2 commits to main since this release
82549f6

A Python module and a workflow to obtain a set of quizzes with calculated embedded answers (cloze questions) in XML Moodle format. Moodle embedded answers (cloze) questions are created in Python and exported as .xml files to Moodle. From the set of questions, one will be randomly assigned by Moodle to a student.

The procedure is suited for training, exams and evaluations in Moodle.

Requires Python 3 and editing access to Moodle 3.

This release uses Python str.format() method to substitute the values of the variables in the placeholders of the quiz text.