code: def read(self, path, base=None):
          '''Import some tasks'''
          if base == None:
              base = os.getcwd()
          absolute = os.path.abspath(path)
          if os.path.isfile(absolute):
              # Load that particular file
              logger.info('Loading %s' % absolute)
              self.extend(Task.load(path, base))
          elif os.path.isdir(absolute):
              # Walk this directory looking for tasks
              tasks = []
              for root, _, files in os.walk(absolute):
                  files = [f for f in files if f.endswith('.py')]
                  for child in files:
                      absolute = os.path.join(root, child)
                      logger.info('Loading %s' % absolute)
                      tasks.extend(Task.load(absolute, base))
              self.extend(tasksf read(self, path, base=None):
          '''Import some tasks'''
          if base == None:
              base = os.getcwd()
          absolute = os.path.abspath(path)
          if os.path.isfile(absolute):
              # Load that particular file
              logger.info('Loading %s' % absolute)
              self.extend(Task.load(path, base))
          elif os.path.isdir(absolute):
              # Walk this directory looking for tasks
              tasks = []
              for root, _, files in os.walk(absolute):
                  files = [f for f in files if f.endswith('.py')]
                  for child in files:
                      absolute = os.path.join(root, child)
                      logger.info('Loading %s' % absolute)
                      tasks.extend(Task.load(absolute, base))
              self.extend(tasks)
docs: Import some tasks