How to check version of Python under CGI
Johann
observer at NOSPAM.space.pl
Thu Jun 13 04:39:40 EDT 2002
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(),)
--
Johann
More information about the Python-list
mailing list