pymoodef.pymoodef
Module Contents
Functions
|
Generate an xml file from the questions in csv or excel format. |
- pymoodef.pymoodef.moodef(file, ini='', xml='')[source]
Generate an xml file from the questions in csv or excel format.
We can indicate the name of the ini and output files.
- Parameters:
file (str) – Path to csv or excel file.
ini (str) – Path to ini file (optional).
xml (str) – Path to output xml file (optional).
- Returns:
Path to output xml file.
- Return type:
str
Examples
res = moodef(file = ‘tests/questions.csv’)
res = moodef(file = ‘tests/questions.csv’, xml = ‘result.xml’)