On 9/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> OK, so I want to split a string c into words using several different
> separators from a list (dels).

Have a look at this recipe:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303342

which contains several ways to solve the problem. You could both
translate all your separators to a single one, and then split over it,
or (maybe the simpler solution) going for the list comprehension
solution.

francesco
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to