It is interesting to note that IF ONLY this were the only thing
stopping you, you *could* work around this problem with a bit of
hackery. The *trick* would be to define an object with an
"interesting" __repr__ function. You could then type:
ls
and get the repr of such an object, which would coincidentally be a
directory listing for the "current" directory :-).
The distinction between function calls and values (or lack thereof) is
interesting in many languages. The repr functions for a class gives a
hint at some of this stuff, but does not completely open pandoras
box. ;-) I often puzzle over related issues when access methods are
compared with "direct" access to member values.
Jim
Jim Roskind
408-982-4469
jar@infoseek.com