def squeeze(value):
    return re.sub(r"[\x00-\x20]+", " ", value).strip()
Replace all sequences of whitespace chars with a single space.
dataset/ETHPy150Open limodou/uliweb/uliweb/core/template.py/squeeze