def __init__(self, template=site_template):
        """OpagCGI(template) -> OpagCGI object
        The class constructor, taking the path to the template to use, using
        the site template as default.
        """
        self.template = template
        self.template_file = None
        if not os.path.exists(self.template):
            raise OpagMissingPrecondition, "%s does not exist" % self.template
OpagCGI(template) -> OpagCGI object
        The class constructor, taking the path to the template to use, using
        the site template as default.
        
recipes/Python/146460_HTML_Templates/recipe-146460.py