Displaying the background script in Python language
in OpenSesame
Hello to everybody,
I would like to ask how to display the background script in the Python language format. When I press the "View script" button I see the plain text and not the Python specific formatting (differently coloured variables, functions etc.) and also other tabs within are missing - like coordinates on which row and column the cursor is etc.
How can I adjust it? Do I need to somehow connect Python in my computer with the OpenSesame so that OpenSesame can use the Python?
Thank you very much for the help.
Comments
Hi @jara ,
The background script, with which I assume you mean the script that defines an experiment and the items in it (?), is simply not written in Python, but in a simple scripting language called OpenSesame script. That's what you're seeing when you click on the view-script button—and that's all there is!
Of course you can embed Python script in an OpenSesame experiment using an
inline_scriptitem. But the experiment itself is not defined in Python.I hope this clears things up!
— Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!