Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Anyone running Python scripts?

  1. #11
    Senior Member Buddha's Avatar
    Join Date
    Mar 2004
    Florida USA


    Quote Originally Posted by Maqueo
    Hi Buddha,

    I got it running!

    Solution was to rename *.py to *. or *.pl One of those "DUH" moments
    Python files have a shebang (#!) that tells the server what to use to execute it just like Perl files. Perl files are processed as cgi-script and the first thing the server does is look at the shebang. There's should be no problem using the extension .pl but seems like that could be kind of confusing for you. Might I suggest, you try renaming them to .py in cPanel using the file manager? Bet they still work.

    I guess Python is installed but the extensions are not configured. This should be fun, I've just started to look into Python, but so far I really really like it...
    Cpanel uses Python so I would bet there's an "AddHandler cgi-script .py" somewhere.

    Anyways, thanks again!

    Your welcome.

    PS: Reg that bill... send it to my nigerian address, please include your bank account number and all your personal info. You'll be handsomely rewarded hehehe
    Yeah that's pretty funny.
    "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

  2. #12
    Junior Member
    Join Date
    Apr 2004


    Thanks again to you guys

    In case anyone's interested, here are some cool Python links:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts