2.9.1. General information about Python
Notes:
- To run Python scripts as CGI applications, use instruction.
- If you have problems with Cyrillic output, use instruction.
Byconnecting to hosting via SSH, you can check the version numbers of the interpreters and the lists of available modules.
Versions
Supported versions: 2.7, 3.3, 3.6, 3.7, 3.8, 3.9, 3.10.
Python version check command (X.X
— version number):
pythonX.X -V
The path to the Python interpreter of the desired version (X.X
- version number):
/usr/bin/pythonX.X
Modules
Viewing the list of available modules:
- Enter interactive mode (
X.X
— Python version number):pythonX.X
- Run the command:
help('modules')
- To exit interactive mode, press Ctrl+D or run the command:
exit()
You can install additional modules by instructions. You can also leave a review in the reviews and suggestions section on our website so that the administration considers the possibility of its global installation.