Skip to content

Releases: cghiaus/PyCloze

str.format

18 Oct 04:35
82549f6
Compare
Choose a tag to compare
str.format Pre-release
Pre-release

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.