def find_template_file(self, template_name):
        filename = self.to_filename(template_name)
        if self.path:
            for dirname in self.path:
                filepath = dirname + os.path.sep + filename
                if os.path.isfile(filepath):
                    return filepath
        else:
            if os.path.isfile(filename):
                return filename
        raise IOError('%s: filename not found (path=%s).' % (filename, repr(self.path)))
Returns the Python version as tuple (major, minor, patchlevel)
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/tenjin.py/Engine.find_template_file--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/platform.py/python_version_tuple