newbie question : Config Script for Python (similar to what Perl Diver does for Perl and the output of the phpinfo() handler does for PHP) ?

null nospamplease at thankyou.com
Tue May 8 05:51:26 EDT 2001


Hi,

    I'm a complete and utter Python newbie.  After a lot of searching, I
found a hosting provider with a decent package who also happened to support
Python (I'm pretty sure that it came with their linux distro, since they
warned me that while it was installed, they would be able to provide no
support). They could only tell me that it's v 1.5.2 (old) and had no clue
which modules were installed or anything else.

My question is - is there anything in Python itself equivalent to the
phpinfo() handler in PHP?  If you call phpinfo in a php script/page, it will
kick out a complete run-down of the php config of the machine on which the
script is running.  To accomplish the same thing in Perl, everyone uses the
famous "Perl Diver" script.  If there's nothing like a pythoninfo()
function, is there a "Python Diver" - type of script that's available?

[I've looked in the Python manual and faq, perused some script archives, and
searched on Google without finding anything like this]

Sorry if I overlooked something obvious.

Thanks,
brian







More information about the Python-list mailing list