> 
>
>Buongiorno a tutti.
>
>
>creando una tupla da un file di testo, mi ritrovo il fine riga \n 
>
>
>listP = tuple(open(folfderList, 'r'))
>
>
>come posso eliminarlo in maniera non troppo macchinosa?
>


stringa.rstrip()

Walter

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

Rispondere a