Home
/
Hosting Subscription
/
Supported Technology
/
How to see available python modules?

How to see available python modules?

To see the available python modules you should first access your account via SSH. Then, execute the this command:

python

You will see the following:

username@server:~$ python
Python 3.11.2 (main, Feb 8 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.

Then, to see the available modules, type:

help('modules')

which will list all currently available modules.

You can install new modules with the Python PIP package manager. To install a specific module use the following syntax:

pip3 install module-name

and replace module-name with the desired module name.

Share This Article