@@ -5,51 +5,24 @@ Python is a widely used high-level programming language for general-purpose prog
...
@@ -5,51 +5,24 @@ Python is a widely used high-level programming language for general-purpose prog
Python features a dynamic type system and automatic memory management and supports multiple programming paradigms, including object-oriented, imperative, functional programming, and procedural styles. It has a large and comprehensive standard library.
Python features a dynamic type system and automatic memory management and supports multiple programming paradigms, including object-oriented, imperative, functional programming, and procedural styles. It has a large and comprehensive standard library.
*[Documentation for Python 3.X][a]
*[Documentation for Python 3.X][a]
*[Documentation for Python 2.X][b]
*[PEP 8 -- Style Guide for Python Code][c]
*[PEP 8 -- Style Guide for Python Code][c]
*[Get into Python -- Tutorial][d]
*[Get into Python -- Tutorial][d]
## Python on the IT4Innovations Clusters
## Python on the IT4Innovations Clusters
On the clusters, we have the Python 2.X and Python 3.X software installed. How to use these modules is shown below.
On the clusters, we have the Python 3.X software installed. How to use these modules is shown below.
!!! note
!!! note
Use the `ml av python/` command to get up-to-date versions of the modules.
Use the `ml av python/` command to get up-to-date versions of the modules.
```console
!!! warn
$ml av python/
Python 2.7 is not supported - [EOL][b] January 1st, 2020.
If you need software that is not listed, request it at support@it4i.cz.
```
## Python 2.X
Python 2.7 is scheduled to be the last major version in the 2.x series before it moves into an extended maintenance period. This release contains many of the features that were first released in Python 3.1.
Requirement already up-to-date: numpy>=1.8.2 in /apps/all/Python/2.7.13/lib/python2.7/site-packages (from scipy)
Installing collected packages: scipy
Successfully installed scipy-0.19.1
```
## Python 3.X
## Python 3.X
Python 3.0 (a.k.a. "Python 3000" or "Py3k") is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and many deprecated features have been removed. In addition, the standard library has been reorganized in a few prominent places.
Python 3.0 (a.k.a. "Python 3000" or "Py3k") is a new version of the language that is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and many deprecated features have been removed. In addition, the standard library has been reorganized in a few prominent places.