Assorted Python variables

Variable Value
os.getcwd() /home/biocase/www/utilities
__file__ /home/biocase/www/utilities/printenv.cgi
os.path.dirname( __file__ ) /home/biocase/www/utilities
os.path.abspath( __file__ ) /home/biocase/www/utilities/printenv.cgi
inspect.getfile( lambda:None ) /home/biocase/www/utilities/printenv.cgi
os.path.abspath( inspect.getfile( lambda:None ) ) /home/biocase/www/utilities/printenv.cgi
Python Sys Path ['.', '/home/biocase/lib', '/home/biocase/www/utilities', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/usr/local/lib/python3.9/dist-packages', '/usr/lib/python3/dist-packages']
biocase.wrapper.functions.getAbsoluteCWDirectory() /home/biocase/www/utilities

Webserver Environment

Variable Value
CONTEXT_DOCUMENT_ROOT /home/biocase/www/
CONTEXT_PREFIX /
DOCUMENT_ROOT /home/biocase/
GATEWAY_INTERFACE CGI/1.1
HTTPS on
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_HOST biocase.konstanz.digital
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
LC_CTYPE C.UTF-8
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
QUERY_STRING
REMOTE_ADDR 18.188.140.232
REMOTE_PORT 6686
REQUEST_METHOD GET
REQUEST_SCHEME https
REQUEST_URI /utilities/printenv.cgi
SCRIPT_FILENAME /home/biocase/www/utilities/printenv.cgi
SCRIPT_NAME /utilities/printenv.cgi
SERVER_ADDR 141.37.165.44
SERVER_ADMIN [no address given]
SERVER_NAME biocase.konstanz.digital
SERVER_PORT 443
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.4.56 (Debian)
SSL_TLS_SNI biocase.konstanz.digital