[Tutor] commads simillar to phpinfo()

Kent Johnson kent37 at tds.net
Sun Dec 10 13:06:09 CET 2006


Joseph John wrote:
> Hi
>   In python ,  is there any  command   simillar  to   phpinfo() as in PHP
> I  wanted to check wheter , my apache installation , run python script 
> correctly

I don't know what phpinfo() does, but for a simple test that your server 
will run Python CGI scripts, try a CGI script that just contains

import cgi
cgi.test()


Kent



More information about the Tutor mailing list