class_docstr: This class can be used to fetch NuPic configuration settings which are
  stored in one or more XML files.
  
  If the environment variable ``NTA_CONF_PATH`` is defined, then the
  configuration files are expected to be in the ``NTA_CONF_PATH`` search path,
  which is a ':' separated list of directories (on Windows the separator is a
  ';'). If ``NTA_CONF_PATH`` is not defined, then it is loaded via
  pkg_resources.
docstr: Get the value of the given configuration property as string. This
  returns a string which is the property value, or the value of "default" arg.
  If the property is not found, use :meth:`getString` instead.
  
  .. note:: it's atypical for our configuration properties to be missing - a
   missing configuration property is usually a very serious error. Because
   of this, it's preferable to use one of the :meth:`getString`,
   :meth:`getInt`, :meth:`getFloat`, etc. variants instead of :meth:`get`.
   Those variants will raise KeyError when an expected property is missing.
  
  :param prop: (string) name of the property
  :param default: default value to return if property does not exist
  :returns: (string) property value, or default if the property does not exist
docstr_tok: ["Get","the","value","of","the","given","configuration","property","as","string",".","This","returns","a","string","which","is","the","property","value",",","or","the","value","of","``","default","''","arg",".","If","the","property","is","not","found",",","use",":","meth",":","`","getString","`","instead",".","..","note",":",":","it","'s","atypical","for","our","configuration","properties","to","be","missing","-","a","missing","configuration","property","is","usually","a","very","serious","error",".","Because","of","this",",","it","'s","preferable","to","use","one","of","the",":","meth",":","`","getString","`",",",":","meth",":","`","getInt","`",",",":","meth",":","`","getFloat","`",",","etc",".","variants","instead","of",":","meth",":","`","get","`",".","Those","variants","will","raise","KeyError","when","an","expected","property","is","missing",".",":","param","prop",":","(","string",")","name","of","the","property",":","param","default",":","default","value","to","return","if","property","does","not","exist",":","returns",":","(","string",")","property","value",",","or","default","if","the","property","does","not","exist"]
code: def get(cls, prop, default=None):
      """Get the value of the given configuration property as string. This
      returns a string which is the property value, or the value of "default" arg.
      If the property is not found, use :meth:`getString` instead.
  
      .. note:: it's atypical for our configuration properties to be missing - a
       missing configuration property is usually a very serious error. Because
       of this, it's preferable to use one of the :meth:`getString`,
       :meth:`getInt`, :meth:`getFloat`, etc. variants instead of :meth:`get`.
       Those variants will raise KeyError when an expected property is missing.
  
      :param prop: (string) name of the property
      :param default: default value to return if property does not exist
      :returns: (string) property value, or default if the property does not exist
      """
  
      try:
          return cls.getString(prop)
      except KeyError:
          return default
  
imports: from __future__ import with_statement
  import os
  import logging
  from xml.etree import ElementTree
  from pkg_resources import resource_string
label_desc: Use image node_id 5 for calling the Configuration obj's underlying member method code with example usage: obj.get(cls, prop, default) and returns: cls, default