def frender(path, **keywords):
 return Template(open(path).read(), filename=path, **keywords)

def frender ( path , ** keywords ) : return Template ( open ( path ) . read ( ) , filename = path , ** keywords )
creates a template from the given file path .