Thanks a lot Xavier, that was exactly what was needed.

On Thu, Aug 2, 2012 at 11:44 AM, Xavier Combelle <xavier.combe...@free.fr>wrote:

>  In server.py you made a mistake in the declaration of the cgi directory
> it should be
> handler.cgi_directories = ["/"]
>
>
> Le 02/08/2012 20:20, Smaran Harihar a écrit :
>
> Hi,
>
>  I am trying to create a simple CGI Script and following this 
> tutorials<http://pointlessprogramming.wordpress.com/2011/02/13/python-cgi-tutorial-1/>but
>  unfortunately my output is only printing the cgi file as it is on the
> browser.
>
>  I have already provided the py scripts with the executable functions.
>
>  This is my server.py <http://dpaste.de/iEPTk/> and this is my 
> test_cgi.py<http://dpaste.de/7SsAj/>
>
>  --
> Thanks & Regards
> Smaran Harihar
>
>
>
> This body part will be downloaded on demand.
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>


-- 
Thanks & Regards
Smaran Harihar
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to