<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">In server.py you made a mistake in the
declaration of the cgi directory<br>
it should be <br>
handler.cgi_directories = ["/"]<br>
<br>
<br>
Le 02/08/2012 20:20, Smaran Harihar a écrit :<br>
</div>
<blockquote
cite="mid:CAHRZm1u+i33g-ZDNSdTzfwPDx=6sV2j-Xe2157nmzhhAuZCK3A@mail.gmail.com"
type="cite">Hi,
<div><br>
</div>
<div>I am trying to create a simple CGI Script and following this
<a moz-do-not-send="true"
href="http://pointlessprogramming.wordpress.com/2011/02/13/python-cgi-tutorial-1/">tutorials</a>
but unfortunately my output is only printing the cgi file as it
is on the browser.</div>
<div><br>
</div>
<div>I have already provided the py scripts with the executable
functions.</div>
<div><br>
</div>
<div>This is my <a moz-do-not-send="true"
href="http://dpaste.de/iEPTk/">server.py</a> and this is my<a
moz-do-not-send="true" href="http://dpaste.de/7SsAj/">
test_cgi.py</a><br clear="all">
<div><br>
</div>
-- <br>
Thanks & Regards
<div>Smaran Harihar</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">This body part will be downloaded on demand.</pre>
</blockquote>
<br>
</body>
</html>