Moving from perl to python: questions

Nathan Clegg nathan at
Wed Feb 16 16:29:01 EST 2000

On 16-Feb-2000 Gerrit Holl wrote:
> First, string.rstrip() might strip unwanted whitespace too; it does
> not only strip the newline.

Duly noted in my comments.

> Second: f.close is a function, so you'll need to append two
> parantheses:
> f.close()

My mistake.

> Third: a one-space indentation is considered Bad Style(tm)

But very handy in a poor editing environment such as my mail client
and was only used to illustrate an example, not create long-standing

Nathan Clegg
 nathan at

More information about the Python-list mailing list