parameters: (self, allowed_path=None, encoding='utf-8')
docstring: Init the loader.
  
          :Parameters:
              - `allowed_path`: path of the template-files
              - `encoding`: encoding of the template-files
          :Exceptions:
              - `ValueError`: if `allowed_path` is not a directory
docstring_summary: Init the loader.
docstring_tokens: Init the loader .
function: def __init__(self, allowed_path=None, encoding='utf-8'):
          """Init the loader.
  
          :Parameters:
              - `allowed_path`: path of the template-files
              - `encoding`: encoding of the template-files
          :Exceptions:
              - `ValueError`: if `allowed_path` is not a directory
          """
          if allowed_path and not os.path.isdir(allowed_path):
              raise ValueError("'allowed_path' has to be a directory.")
          self.path     = allowed_path
          self.encoding = encoding
function_tokens: def __init__ ( self , allowed_path = None , encoding = 'utf-8' ) : if allowed_path and not os . path . isdir ( allowed_path ) : raise ValueError ( "'allowed_path' has to be a directory." ) self . path = allowed_path self . encoding = encoding