newbie

Max Khesin max at cNOvSisiPonAtecMh.com
Thu Mar 13 21:30:10 CET 2003


Hi all,
I just started with the snake, coming from a C++ background (and what a cool
snake it is!).
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?

thanks,

--
========================================
Max Khesin, software developer -
max at cNvOiSsPiAoMntech.com
[check out our image compression software at www.cvisiontech.com, JBIG2-PDF
compression @
www.cvisiontech.com/cvistapdf.html]







More information about the Python-list mailing list