• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to Register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


No announcement yet.

Run Python Script in Linux Servers


Unconfigured Ad Widget

  • Filter
  • Time
  • Show
Clear All
new posts

  • princeofdeath
    Re: Run Python Script in Linux Servers

    PHP, Python and PERL Language are accepted in Linux servers...

    Leave a comment:

  • Manuel_
    started a topic Run Python Script in Linux Servers

    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/env 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, change the owner with below command.
    Shell> chown username.username scriptname.py
    For example : chown exabytes.exabytes index.py
    Last edited by admin; 08-12-2015, 06:55 AM.

Sign up for a News Letter Click here to sign up