Python: Difference between revisions

From TSG Doc
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
| latest preview version =  
| latest preview version =  
| latest preview date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes}} -->
| latest preview date    = <!-- {{Start date and age|YYYY|MM|DD|df=yes}} -->
| installed version      = 3.7.9 64-bits
| installed version      = 3.10.11 64-bits
| installed version date = <!-- {{Start date and age|YYYY|MM|DD|df=yes}} -->
| installed version date = <!-- {{Start date and age|YYYY|MM|DD|df=yes}} -->
| status                = Active
| status                = Active
Line 28: Line 28:
}}
}}


[[wikipedia:Python_(programming_language)|Python]] is a general-purpose, high-level programming language. It is also a [[wikipedia:Python_%28genus%29|type of snake]] and a [[wikipedia:Python_%28Efteling%29|rollercoaster]], but one is arguably more relevant to your research than the others. <br/>
[[wikipedia:Python_(programming_language)|Python]] is a general-purpose, high-level programming language. It is also a [[wikipedia:Python_%28genus%29|type of snake]] and a [[wikipedia:Python_%28Efteling%29|rollercoaster]], but the language is probably more relevant to your research. <br/>
On the lab computers, there is support for Spyder, PyCharm and [[Psychopy]].  
On the lab computers, there is support for Spyder, PyCharm and [[Psychopy]].  



Latest revision as of 12:38, 16 April 2026

Python
Python(tm)
Installed version3.10.11 64-bits
Development statusActive
Written inPython
Websitepython.org
Workshop

Python is a general-purpose, high-level programming language. It is also a type of snake and a rollercoaster, but the language is probably more relevant to your research.
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

See Also

External Links