'ExperimentHandler CSV output value separator environment dependant

(I'm not a pyschologist nor pysychopy export but helping one) We're developing an expirement using the Coder (not Builder).

The output of an experiment is written out using the data.ExperimentHandler.addData(). When I run the application on my machine I get output like this:

,,1,1,z,f,o,o,1.254349554568762,0.8527608618387603,0.0,1.0,FSAS,,,,,,,,,,,,,,,52,male,52,

When the other person runs the application she gets:

;;0;1;z;z;j;j;105.498.479.999.369;0.501072800019756;1.0;1.0;FNES;;;;;;;;;;;;;;;23;male;0

(the difference I want to show is about format, not the values)

There are 2 differences:

  • RT values > 1 are printed wrong: the value 105.498.479.999.369 (RT less then 1.5s) should be 1.05498479999369
  • value separator is ; in my output and , in hers. I don't know what is the best value separator comma or semilcolon for later processing in R ?

I think it has to do something with regional settings.

Question: Is it possible to force the format so the application always generates the same output format independant from local settings ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source