Ville Vainio wrote:
>>>>>>"Hal" == Hal Fulton <hal9000 / hypermetrics.com> writes:
> 
> 
>     Hal> I'm prepared to admit you are right, since I don't know
>     Hal> Python.
> 
> That's a commendable attitude.
> 
>     Hal> file, length, name, title = [' '.join(t.split()) for t in
>     Hal> line.split('|')]
> 
>     Hal> This seems neither OO nor functional style to me. What do you
>     Hal> think?
> 
> Funny, because it's very much both. join and split are string methods,
> and the overall structure is a List Comprehension.

I'd have thought t.split.join(' ') would better exemplify
both OO and FP.

Hal