def get(self, converter=str):
        value = self.value
        size = len(value)
        if self.nargs == 0:
            return ""
        #return self.join.join([
            #self.__resolve(v, converter=converter) for v in value
        #])
        if self.nargs == 1:
            ## current value is a list
            if size > 1:
                raise ValueError("Option '%s' contains more "
                                 "than one value!" % self.name)
            ## single value
            v = None if size == 0 else value[0]
            if v is None and self.required and _check_required:
                raise ParserException("Option '%s' is required but "
                                      "not set!\n" % (self._opt_string()))
            return self.__resolve(v, converter=converter) \
                if (v or v == 0) else converter("")
        else:
            if size == 0 and self.required and _check_required:
                raise ParserException("Option '%s' is required but "
                                      "not set!\n" % (self._opt_string()))
            return self.join.join([
                self.__resolve(v, converter=converter) for v in value
            ])
Get a representation for the current value, default to string
dataset/ETHPy150Open thasso/pyjip/jip/options.py/Option.get