Python: Best Way to remove duplicate character from string,""""""""""""".join(ch for ch, _ in itertools.groupby(foo))"