<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hostek.com/index.php?action=history&amp;feed=atom&amp;title=Python</id>
		<title>Python - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hostek.com/index.php?action=history&amp;feed=atom&amp;title=Python"/>
		<link rel="alternate" type="text/html" href="https://wiki.hostek.com/index.php?title=Python&amp;action=history"/>
		<updated>2026-05-05T05:07:29Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wiki.hostek.com/index.php?title=Python&amp;diff=3061&amp;oldid=prev</id>
		<title>Briana: Created page with &quot;While the Hostek support team does not provide detailed support for Python, Python does come installed on cPanel account.  To test a Python script on your cPanel account, do t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hostek.com/index.php?title=Python&amp;diff=3061&amp;oldid=prev"/>
				<updated>2017-03-20T18:40:47Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;While the Hostek support team does not provide detailed support for Python, Python does come installed on cPanel account.  To test a Python script on your cPanel account, do t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;While the Hostek support team does not provide detailed support for Python, Python does come installed on cPanel account.&lt;br /&gt;
&lt;br /&gt;
To test a Python script on your cPanel account, do the following:&lt;br /&gt;
&lt;br /&gt;
Create a python script file example.py with the following contents:&lt;br /&gt;
&lt;br /&gt;
 #! /usr/bin/python&lt;br /&gt;
 print &amp;quot;Content-type: text/html\n\n&amp;quot;&lt;br /&gt;
 print &amp;quot;Hello world!!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Make sure the file is owned by the user and has execute permissions:&lt;br /&gt;
&lt;br /&gt;
 chown user.user example.py&lt;br /&gt;
 chmod +x example.py&lt;br /&gt;
&lt;br /&gt;
Add handler for python to the .htaccess file:&lt;br /&gt;
&lt;br /&gt;
 Options +ExecCGI&lt;br /&gt;
 AddHandler cgi-script .py&lt;br /&gt;
&lt;br /&gt;
Now you should be able to run domain.com/example.py&lt;/div&gt;</summary>
		<author><name>Briana</name></author>	</entry>

	</feed>