Assorted Python variables

Variable Value
__file__ C:/BioCase/www/utilities/printenv.cgi
os.path.dirname( __file__ ) C:/BioCase/www/utilities
inspect.getfile( lambda:None ) C:/BioCase/www/utilities/printenv.cgi
os.path.abspath( __file__ ) C:\BioCase\www\utilities\printenv.cgi
Python Sys Path ['.', 'C:\\biocase\\lib', 'C:\\BioCase\\www\\utilities', 'C:\\Python25\\lib\\site-packages\\setuptools-0.6c9-py2.5.egg', 'C:\\Python25\\lib\\site-packages\\pypyodbc-1.1.1-py2.5.egg', 'C:\\Windows\\system32\\python25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\\lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages']
os.path.abspath( inspect.getfile( lambda:None ) ) C:\BioCase\www\utilities\printenv.cgi
biocase.wrapper.functions.getAbsoluteCWDirectory() C:/BioCase/www/utilities
os.getcwd() C:\BioCase\www\utilities

Webserver Environment

Variable Value
COMSPEC C:\Windows\system32\cmd.exe
DOCUMENT_ROOT D:/OpenUp/
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING gzip
HTTP_CONNECTION Keep-Alive
HTTP_HOST pm.nm.cz
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Windows Resource Kits\Tools\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\scala\\bin
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
QUERY_STRING
REMOTE_ADDR 54.172.221.7
REMOTE_PORT 46070
REQUEST_METHOD GET
REQUEST_URI /biocase/utilities/printenv.cgi
SCRIPT_FILENAME C:/BioCase/www/utilities/printenv.cgi
SCRIPT_NAME /biocase/utilities/printenv.cgi
SERVER_ADDR 10.10.9.99
SERVER_ADMIN petrdanes@seznam.cz
SERVER_NAME pm.nm.cz
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache/2.2.22 (Win32)
SYSTEMROOT C:\Windows
WINDIR C:\Windows