def normalize(value): value = value.strip()
if value.startswith("and"): value = value[3:] return value parser = KeywordProcessor(',', normalize=normalize, result=list) — Alice. -- http://mail.python.org/mailman/listinfo/python-list
def normalize(value): value = value.strip()
if value.startswith("and"): value = value[3:] return value parser = KeywordProcessor(',', normalize=normalize, result=list) — Alice. -- http://mail.python.org/mailman/listinfo/python-list