Il 02/09/2012 09:51, Josef Eschgfaeller ha scritto:
import re

testo=re.sub(r'(?m) +$','',testo)

concisa, mi piace
grazie

_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a