addDataToExp() psychopy code example
Example: addDataToExp() psychopy
form.addDataToExp(experiment, formatopt)
Add the form data to the given experiment. Where "form" name of form.
Note that PsychoPy forms are automatically added to the data capture.