On 05.06.2014 20:16, Paul Rubin wrote:
> Johannes Bauer <dfnsonfsdu...@gmx.de> writes:
>> line = line[:-1]
>> Which truncates the trailing "\n" of a textfile line.
> 
> use line.rstrip() for that.

rstrip has different functionality than what I'm doing.

Cheers,
Johannes

-- 
>> Wo hattest Du das Beben nochmal GENAU vorhergesagt?
> Zumindest nicht öffentlich!
Ah, der neueste und bis heute genialste Streich unsere großen
Kosmologen: Die Geheim-Vorhersage.
 - Karl Kaos über Rüdiger Thomas in dsa <hidbv3$om2$1...@speranza.aioe.org>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to