Assorted Python variables

Variable Value
__file__ /opt/biocase/www/utilities/printenv.cgi
os.path.dirname( __file__ ) /opt/biocase/www/utilities
inspect.getfile( lambda:None ) /opt/biocase/www/utilities/printenv.cgi
os.path.abspath( __file__ ) /opt/biocase/www/utilities/printenv.cgi
Python Sys Path ['.', '/opt/biocase/lib', '/opt/biocase/www/utilities', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7']
os.path.abspath( inspect.getfile( lambda:None ) ) /opt/biocase/www/utilities/printenv.cgi
biocase.wrapper.functions.getAbsoluteCWDirectory() /opt/biocase/www/utilities
os.getcwd() /opt/biocase/www/utilities

Webserver Environment

Variable Value
DOCUMENT_ROOT /opt/biocase/www
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_HOST biocase.museum-joanneum.at
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
PATH /usr/local/bin:/usr/bin:/bin
QUERY_STRING
REMOTE_ADDR 54.225.18.67
REMOTE_PORT 49422
REQUEST_METHOD GET
REQUEST_URI /utilities/printenv.cgi
SCRIPT_FILENAME /opt/biocase/www/utilities/printenv.cgi
SCRIPT_NAME /utilities/printenv.cgi
SERVER_ADDR 217.29.159.103
SERVER_ADMIN webmaster@localhost
SERVER_NAME biocase.museum-joanneum.at
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.0
SERVER_SIGNATURE
Apache/2.2.22 (Debian) Server at biocase.museum-joanneum.at Port 80
SERVER_SOFTWARE Apache/2.2.22 (Debian)