Content
To see the available python modules you should first access your account via SSH. Then execute the this command:
1
|
python
|
You will see the following:
1
2
3
4
|
username@server [~]# python
Python 2.4.3 (#1, Sep 3 2009, 15:37:37)
[GCC 4.1.2 20080704 (Red Hat 4.1.2–46)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.
|
Then to see the available modules type:
1
|
help(‘modules’)
|
which will list all currently available modules.
On XonHost’s servers you can use two different Python versions – 2.4 and 2.7. The above will list the modules for 2.4 and if you want to see the available modules for 2.7, use:
1
|
python2.7
|
instead of
1
|
python
|