Run Python Script in Linux Servers

To run python script under Exabytes Linux servers.

1. For python system library's common path, please use as below.
#!/usr/bin/python

2. Change the permission for your .py script, to allow executable.
Shell> chmod a+x scriptname.py
For example : chmod a+x index.py

3. Please make sure the owner of the script is your hosting account username. If not, contact Exabytes Support to change the ownership on behalf of you.

For change the permission, you may request shell access from Exabytes support team at (support@exabytes.com), or login to your CPanel > File Manager > Select the scriptname.py.

For change the ownership, kindly request Exabytes support team (support@exabytes.com), to change it.

Add Feedback