André <andre.robe...@gmail.com> writes:

> How about the following:
>
> >>> s = 'a=b,c=d'
> >>> t = []
> >>> for u in s.split(','):
> ...     t.extend(u.split('='))

s = 'a = b = c, d = e'
        => ['a ', ' b ', ' c', ' d ', ' e']

Ugh.

-- [mdw]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to