python: best way to remove duplicate character from string,""""""""""""".join(ch for ch, _ in itertools.groupby(foo))"