Global namespace (was Re: python libs v lisp coolness?

Ville Vainio ville.spammehardvainio at spamtut.fi
Wed Oct 29 11:22:46 EST 2003


Paolo Amoroso <amoroso at mclink.it> writes:

> The lack of Lisp libraries is being addressed.

Are they also going to address the lack of modules? The way I've seen
Lisp used, everything is dumped into a global namespace (even
"methods" in CLOS). I shudder at the thought of using Python where all
the names from various modules would be in the global namespace.

in Python you can do:

import os

files = os.listdir("/root")

-- 
Ville Vainio   http://www.students.tut.fi/~vainio24




More information about the Python-list mailing list