How to check version of Python under CGI

Simon Brunning SBrunning at trisystems.co.uk
Thu Jun 13 05:16:50 EDT 2002


> From:	Johann [SMTP:observer at NOSPAM.space.pl]
> I would like to write a simple CGI script to get as much info about
> installed Python as possible. But I even don't know how to check
> version of Python. :( From shell command  it is easy, but how to do it
> from CGI script? Eg.
> 
> #!/usr/bin/env python
> print "Content-type: text/html\n\n"
> print "Python version: %s" %s (IDoNotKnowWhatToChoose(),)
 
Try Carsten Gaebler's SnakeCharmer from <http://snakefarm.org/>.

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk




-----------------------------------------------------------------------
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.





More information about the Python-list mailing list