AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Psychopy typing3/10/2023 ![]() ![]() Again, please don’t run / execute code in this jupyter notebook python experiment. Thank you very much in advance for any tips. This is achieved via typing python experiment.py in the VScode terminal and pressing enter this will run / execute the python script experiment.py via the python installed in our conda environment called psychopy. Is there any code snippet in pure python (found some online exps and youtube videos) that I could use as a template? In practice, however, I cannot get this to work … In theory, I thought it shouldn’t be too hard to enter a while-loop and continuously update the textbox with the typed letters until a “return” is pressed (breaking out of the while loop). I can display the image and read a lot about editable textboxes, event-keys, and I tinkered with various code examples. The psychopy package contains different modules for different features. ![]() For commercial support and services visit Follow us on Twitter psychtoolbox Getting started. Some of its functionality is available as part of Python toolkits like PsychoPy. To check pip.exe (a sort of installation wizard) is installed, either search for the file, or check C:PsychoPy2Scripts for it. I am working with psychopy 2021.2.3 (on a mac, but the final thing will run on a PC). It makes it easy to synthesize and show accurately controlled visual and auditory stimuli and interact with the observer. You can exit by typing quit ()) To add to path, get properties of computer, then advanced system settings, then environment variables. I want the user to type in about a paragraph of text via the keyboard. I am displaying an image and then a text field.I’d like to work in pure code (though the builder is cool, i never got into it).Hello, apologies for potential cross posting, but after searching the forum for 2 hours I’ve found many related posts, but not exactly what I want: ![]()
0 Comments
Read More
Leave a Reply. |