#! /usr/opt/bin/python
####################################################################
# gen_tbl_pg.py
#
rt_www_rev='2.30'
#
# Feb 1999
# dbriar and dpope
####################################################################
# Python cgi script to create table from cache file
####################################################################
import time
start=time.time()
# -- Set variable RT_HOME to location where rt software is installed
RT_HOME="/www/htdocs/rt"
# -- Do imports
import sys
sys.path.insert(1,RT_HOME+'/lib')# <<== add path for modules
from gen_tbl_mod import *
from posix import environ
# -- Get QUERY_STRING and SCRIPT_NAME and pass to genpage()
QUERY_STRING=''
try:
QUERY_STRING=environ['QUERY_STRING']
except:
pass
gentable(RT_HOME,QUERY_STRING)
print '
',str(round(time() - start,3))