Difference between revisions of "Python"
Jump to navigation
Jump to search
m |
|||
| (2 intermediate revisions by one other user not shown) | |||
| Line 21: | Line 21: | ||
| resources = {{Infobox tsg | | resources = {{Infobox tsg | ||
| child = yes | | child = yes | ||
| − | | | + | | header1 = Workshop |
| − | | | + | | data1 = {{bulleted list |
| [[Workshop: Python for behavioural scientists|Python for behavioural scientists]] | | [[Workshop: Python for behavioural scientists|Python for behavioural scientists]] | ||
}} | }} | ||
| Line 32: | Line 32: | ||
<!-- Table of Contents will be generated here --> | <!-- Table of Contents will be generated here --> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Psychopy== | ==Psychopy== | ||
{{see also|Psychopy}} | {{see also|Psychopy}} | ||
| − | + | ||
| − | |||
| − | |||
When your script fails to load in Psychopy, because you need packages that are not installed on our lab computers, please contact TSG. | When your script fails to load in Psychopy, because you need packages that are not installed on our lab computers, please contact TSG. | ||
Latest revision as of 10:42, 19 August 2025
| Installed version | 3.7.9 64-bits | ||||
|---|---|---|---|---|---|
| Development status | Active | ||||
| Written in | Python | ||||
| Website | python.org | ||||
| |||||
Python is a general-purpose, high-level programming language. It is also a type of snake and a rollercoaster, but one is arguably more relevant to your research than the others.
On the lab computers, there is support for Spyder, PyCharm and Psychopy.
Psychopy
See also: Psychopy
When your script fails to load in Psychopy, because you need packages that are not installed on our lab computers, please contact TSG.
Usage
Example: TestArgs.py
Execute the following script within the commandline (CMD): python testArgs.py a.
You should see the following result:
number of argument: 2
argv[0]: ./testArgs.py
argv[1]: a