That is a very creative solution! Thank you Scott.

> Or, for faster per-repetition (blending in to your use-case):
>
>      import string
>      SEP = string.maketrans('abc \t', '     ')
>      ...
>      parts = 'whatever, abalone dudes'.translate(SEP).split()
>      print parts
>
> ['wh', 'tever,', 'lone', 'dudes']
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to