I’m new to Psychopy, and working through the JND tutorial in the manual. The tutorial is great, except that some lines of code seem to be missing. For example, on p. 82, the example code is
import time, numpy, random
try:#try to get a previous parameters file
expInfo = fromFile('lastParams.pickle')
except:#if not there then use a default set
Even without any Python or PsychoPy experience, it seems to me that something should come after the “except” line. Furthermore, the next line of text says “The last line adds the current date to whichever method was used.” , which clearly doesn’t match the code snippet.
I have run into this a few times so far, and I’m not done with the tutorial yet. I can grab the missing code bits from the full code page, of course, but my guess is this is a problem with formatting the pdf and could be fixed pretty easily.