What was I thinking? split() will only work if you have no other
whitespace characters in the string.  A regex like "[\n\r]+" is indeed
much more appropriate and robust.

Cheers
-Basilisk96

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

Reply via email to