![]() ![]() Students of the “Programming in Psychological Science” should install the standalone PsychoPy version. The standalone version does not only contain a working version of the psychopy package, but also a custom Python distribution specifically designed to work with PsychoPy, as well as a neat code editor and even a graphical interface (the PsychoPy Builder interface) to create experiments without programming. Instead, we highly recommend installing the “standalone” version of PsychoPy. PsychoPy standalone version (recommended) # We highly recommend installing the “standalone” version (because it also includes the PsychoPy Builder interface), but we explain both approaches in turn. There are two ways of installing PsychoPy: installing the core Python package psychopy and installing the complete “standalone” PsychoPy software package. In the second week of the course, we are going to use PsychoPy, a Python-based software package, to create simple experiments. This command should print out the location where you installed Python, e.g., /Users/your_name/anaconda3/bin/python (on Mac) or C:\Users\your_name\anaconda3\bin\python (on Windows). Python - c "import sys print(sys.executable)" You can ignore the rest of the files (which have to do with configuration and the contents of this website). The solutions folder contains the same material, but with solutions to the exercises in the tutorials. The course material is stored in the tutorials folder. In the online environment, you’ll see a lot of files. Note that the “rocket” button is only available for actual tutorials. This will launch an online environment in which you can interactively run the material. To start the tutorials as interactive notebooks, click on the “rocket” button on the top right and choose JupyterHub (UvA students only) or Binder (anyone). The tutorials of week 1 are embedded on this website as well (i.e., the pages on the left with the (T)), but these are not interactive, i.e., you cannot add, edit, or run the code. Note that you must be connected to UvA VPN to be able to access the UvA server. Note that our own Jupyterhub instance is only accessible to students from the Research Master Psychology who are enrolled in the “Programming for Psychology” course. Alternatively, you may use Binder, which is a service that provides an online Python environment with the course’s materials. The course’s Canvas page outlines how to access the server. Online access to Python #įor students of the Research Master Psychology, we have set up an external server with Python (through Jupyterhub, which is explained here) which can be used to do the tutorials of week 1 so no need to download Python yourself. There are two options: you can download Python yourself (see below) or you can use an online environment preconfigured with a working Python installlation. Python #įor this course, we need a working installation of Python. This pages describes how to download and install the software and materials needed for this course. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |