[Tutor] commads simillar to phpinfo()

Christopher Arndt chris.arndt at web.de
Sun Dec 10 11:41:35 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

No, not built-in, but there are third-part CGI-scripts that do a similar 
thing. For example (sorry, German source code comments):

https://opensvn.csie.org/traccgi/PyLucid/browser/CodeSnippets/module_info.py


You might also want to look at this Cookbook recipe:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440501


Chris


More information about the Tutor mailing list