Line 1: |
Line 1: |
| {{Infobox software | | {{Infobox software |
| | name = Python | | | name = Python |
− | | logo = Python-logo-notext.svg | + | | logo = Python-logo-generic.svg |
− | | screenshot = python-logo-master-v3-TM.png | + | | logo size = 180px |
| + | | logo alt = Python(tm) |
| | caption = | | | caption = |
| | developer = | | | developer = |
Line 18: |
Line 19: |
| | platform = | | | platform = |
| | website = [http://www.python.org python.org] | | | website = [http://www.python.org python.org] |
− | | resources = | + | | resources = {{Infobox tsg |
| + | | child = yes |
| + | | header2 = Workshop |
| + | | data2 = {{bulleted list |
| + | | [[Workshop: Python for behavioural scientists|Python for behavioural scientists]] |
| + | }} |
| + | }} |
| | | |
| }} | | }} |
| | | |
− | [[wikipedia:Python_(programming_language)|Python]] is a general-purpose, high-level programming language. It is also a type of snake, but one is arguably more suitable for behavioral research than the other. | + | [[wikipedia:Python_(programming_language)|Python]] is a general-purpose, high-level programming language. It is also a [[wikipedia:Python_%28genus%29|type of snake]], but one is arguably more relevant to your research than the other. |
| | | |
| <!-- Table of Contents will be generated here --> | | <!-- Table of Contents will be generated here --> |
Line 47: |
Line 54: |
| | | |
| ===Package Management=== | | ===Package Management=== |
| + | |
| + | ==== pip ==== |
| After Python is installed, you can use [[wikipedia:Pip_(package_manager)|pip]] to install your required packages. '''pip is included with Python 2.7.9 or greater'''. For older versions, use the following steps to install: | | After Python is installed, you can use [[wikipedia:Pip_(package_manager)|pip]] to install your required packages. '''pip is included with Python 2.7.9 or greater'''. For older versions, use the following steps to install: |
| | | |
Line 59: |
Line 68: |
| This location may differ if you have installed Python somewhere else. | | This location may differ if you have installed Python somewhere else. |
| | | |
− | ====Setuptools==== | + | ==== Setuptools ==== |
| For package management with setuptools, install setuptools using the following command: <code style="background-color:#000; color:#fff; padding:1px 3px;">pip install -U setuptools</code> | | For package management with setuptools, install setuptools using the following command: <code style="background-color:#000; color:#fff; padding:1px 3px;">pip install -U setuptools</code> |
| + | |
| + | To install a package, simply execute the following command: <code style="background-color:#000; color:#fff; padding:1px 3px;">c:\easy_install PACKAGE_NAME</code><br/> |
| + | Replace PACKAGE_NAME with the name of the package of choice. |
| | | |
| ===List of Python Packages=== | | ===List of Python Packages=== |
Line 106: |
Line 118: |
| |- | | |- |
| | FreeType || Library to Render Fonts || style="background-color:#9F9;" | Yes || Manual Install || [[file:freetype.zip]] | | | FreeType || Library to Render Fonts || style="background-color:#9F9;" | Yes || Manual Install || [[file:freetype.zip]] |
| + | |- |
| + | | Psignifit || || || || |
| |- | | |- |
| | Psychopy || Psychology Software in Python || style="background-color:#9F9;" | Yes || Package Manager || http://www.psychopy.org | | | Psychopy || Psychology Software in Python || style="background-color:#9F9;" | Yes || Package Manager || http://www.psychopy.org |
Line 154: |
Line 168: |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | ==See Also== <!-- Optional --> | + | ==See Also== |
| *[[Psychopy]] | | *[[Psychopy]] |
− | | + | *[[Workshop: Python for social scientists]] |
− | ==References== | + | <!-- |
− | <references /> | + | *[[Workshop: Python for behavioural scientists]] |
| + | ==References== |
| + | <references /> --> |
| | | |
| ==External Links== | | ==External Links== |
| *{{Official website|http://www.python.org}} | | *{{Official website|http://www.python.org}} |