looking for command-pipe performance advice

Steve Holden sholden at holdenweb.com
Sat Apr 7 23:42:00 EDT 2001


"Sheila King" <sheila at spamcop.net> wrote in message
news:je8vct4ner0mgnf9otr8gr7mvp3a4tbm7u at 4ax.com...
> On Sat, 7 Apr 2001 17:23:51 -0400, "Steve Holden" <sholden at holdenweb.com>
> wrote in comp.lang.python in article
> <qyLz6.111511$5H6.4156571 at e420r-atl2.usenetserver.com>:
>
> :> body = string.join(raw_body, "")
> :>
> :Surely this line is completely redundant here, since you called read()
and
> :not readlines()? Maybe you changed form the latter to the former and
> :overlooked this?
>
> Oops! You're right! I think I did have readlines() in a previous version
of
> the script, and forgot to remove the "join" command when I switched that.
>
> I removed the join command now.
>
> Tnx,
>
A pleasure.

sharing-and-caring-ly y'rs  - steve






More information about the Python-list mailing list