def convert_string(inpt):

    if PY2:
        return str(inpt).decode()
    else:
        return str(inpt)
Return string value from input lit_input
dataset/ETHPy150Open geopython/pywps/pywps/inout/literaltypes.py/convert_string