Reseller Login or Sign up FAQ Search
ResellersPanel's Blog

How to use Python scripts on our shared hosting servers?

Python is a very powerful tool, used for the development of several of the most complex web applications. Here is how a Python script can be executed on our shared hosting servers. 1. Upload the .py file into a folder 2. Create an .htaccess file into the same folder and include the following line: AddHandler cgi-script .py 3. Edit the .py file(s) by adding “#!/usr/bin/python” in the first line 4. The permissions for .py file(s) should be 755 And you’re done – you can now successfully execute Python scripts.

Related posts:

Social media buttons added to the Store Master theme
A competition comparison page added to the Store Master theme
.BE domains now free with a web hosting plan

Tags: , , ,


« Back to menu