Skip to content

Comments

Fix text2csv multiplelines#23

Open
maelys-buhler wants to merge 2 commits intouberspot:masterfrom
maelys-buhler:fix-text2csv-multiplelines
Open

Fix text2csv multiplelines#23
maelys-buhler wants to merge 2 commits intouberspot:masterfrom
maelys-buhler:fix-text2csv-multiplelines

Conversation

@maelys-buhler
Copy link

@maelys-buhler maelys-buhler commented Apr 13, 2024

This is a proposition for a new version of the script that convert the data to csv.
The last version didn't work for questions where the question's text took more than one line.

This version add to the question's text all the line from the on that begins with #Q (included) to the one that begins with ^(excluded)
It uses the same mechanism for the question's answer and options, in case a question has answer that takes multiple lines.

It also change the name of the variable files to lines, as the previous name do not represent the actual content of the variable: The lines of the file.

Close #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Questions in multiple lines not working with the text2csv.py

1 participant