Published April 18, 2021 | Version v0.1.0
Software Open

PyCloze v0.1.0

  • 1. INSA Lyon

Description

A procedure 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.

Note: 

In MdlClz.py at line 84, you might need to indicate the encoding. i.e. to change:

with open(xml_file_name, 'w') as MOODLE_cloze:

into:

with open(xml_file_name, 'w', encoding='utf-8') as MOODLE_cloze:

Files

PyCloze-0.1.0.zip

Files (41.3 kB)

Name Size Download all
md5:ba3626e6d5a533d433ec8397813dcd59
41.3 kB Preview Download

Additional details

Related works

Is derived from
Software: https://github.com/cghiaus/PyCloze/tree/v0.1.0 (URL)