You will need to import the expyriment package, in order to use it in Python.
I think at this point this forum thread might not be the best way for you to proceed. I get the impression that you might benefit more from first strengthening your general knowledge of Python (there are good free books available) and then have a look at the official Expyriment documentation. Especially the Getting Started Tutorial and the Example Experiments should be helpful to understand the general way Expyriment works.
Comments
I've just sent it!
Line 171 misses a closing parenthesis.
Global name 'expyriment' is not defined
You will need to import the expyriment package, in order to use it in Python.
I think at this point this forum thread might not be the best way for you to proceed. I get the impression that you might benefit more from first strengthening your general knowledge of Python (there are good free books available) and then have a look at the official Expyriment documentation. Especially the Getting Started Tutorial and the Example Experiments should be helpful to understand the general way Expyriment works.
Best,
Florian
I thank you for your precious suggestion and material.
Yours faithfully,
Arianna