newbie

drs drs at ecp.cc
Thu Mar 13 16:42:27 EST 2003


"Max Khesin" <max at cNOvSisiPonAtecMh.com> wrote in message
news:mT5ca.75$K51.97102 at twister.nyc.rr.com...

> Anyway, is method nesting possible in python, e.g.
> PrintLines(os.popen('dir').readlines().sort())
> or
> PrintLines((os.popen('dir').readlines()).sort())
> even if sort() does not return a reference to self, are there methods that
> do and is it a common Python programming style?

Welcome.

You should try them out at an interactive prompt to find out ...

-d






More information about the Python-list mailing list