<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _load_template_or_config(self, template_path, config_path):
 """Load the config file if it exists, else read the default config. :type template_path: str :param template_path: The template config file path. :type config_path: str :param config_path: The user's config file path. :rtype: :class:`configobj.ConfigObj` :return: The config information for reading and writing. """

        expanded_config_path = os.path.expanduser(config_path)
        cfg = ConfigObj()
        cfg.filename = expanded_config_path
        cfg.merge(ConfigObj(template_path, interpolation=False))
        cfg.merge(ConfigObj(expanded_config_path, interpolation=False))
        return cfg