Introduction VI#
Within the sixth session weβll continue to explore the basic building blocks of python
, this and the next session
will contain exhaustive content aiming to provide you with a somewhat detailed understanding of central python
aspects. The aim is to get a good set of basic experience to then advance into more practical aspects, specifically evaluating how these things can be utilized within experiments
to collect data and their subsequent analyzes
. To nevertheless get some experience on the way, there will be some exercise at the beginning and throughout the session. Additionally, the homework assignments
will be made in a way that showcases some tasks that you might most likely encounter in real-life so that you get more practice in conducting them through python
.
Topics π‘π¨π»βπ«#
In the following youβll find the objectives
and materials
for each of the topics weβll discuss during this session.
Introduction to Python - III#
This session, weβll build upon the things learned last week and broader our capabilities in python
, focusing on indentation
and control flow & structures
.
Objectives π#
learn about
indentation
(some form ofcode structuring
)control
how ourcode
isexecuted
Conditionals
(if
-else
statements
)Iteration
(e.g.,for-loops
,while statements
, β¦)
Ask and answer questions
Have a great time
Materials π#
Please see the rendered version of the jupyter notebook
Introduction VI - Introduction to Python III in the ToC
on the left.
tasks for subsequent meeting π₯οΈβπ½π#
You can download the homework for next week here. It is due Friday 05.01.2024
Prepare PsychoPy installation#
Also, in preparation for our switch to more applied things, i.e. starting with experiments in python
. Weβll have to install psychopy
. To do that please download the programm from here and follow the instructions for your specific operating system. If you encounter any Problems, please let me know!