Python is a powerful programming language. It is used extensively by giants such as Google.
You might need to run Python script from Web not from CLI as usual. You have to be aware of CGI-BIN importance.
Here are two short guides for running Python scripts with cPanel
In addition, here is a nice tutorial for building a basic RESTful API in Python
I hope that helps someone