Running Python

From Free Hosting Wiki
(Difference between revisions)
Jump to: navigation, search
[checked revision][checked revision]
(Created page with "Follow these simple instructions to run Python on your free hosting: * Add the following to .htaccess: : AddHandler cgi-script .py : * Change the permissions of the file to 07...")
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 +
CGI has been temporarily disabled so this will not work.
 +
 +
<hr>
 +
 
Follow these simple instructions to run Python on your free hosting:
 
Follow these simple instructions to run Python on your free hosting:
  
Line 14: Line 18:
  
 
You should then be able to run your Python file.
 
You should then be able to run your Python file.
 +
 +
 +
[[Category:Tutorials]]

Latest revision as of 16:02, 28 October 2010

CGI has been temporarily disabled so this will not work.


Follow these simple instructions to run Python on your free hosting:


  • Add the following to .htaccess:
AddHandler cgi-script .py
  • Change the permissions of the file to 0755
  • Add the following code to the top of your Python file:
#!/usr/bin/env python


You should then be able to run your Python file.

Personal tools
Namespaces

Variants
Actions