Why self?
Huaiyu Zhu
huaiyu at gauss.almadan.ibm.com
Thu Jul 11 14:22:04 EDT 2002
David LeBlanc <whisper at oz.net> wrote:
>Louis;
>
>I think he was proposing an idea. I don't believe you can import from self,
>and i'm almost positive that "to ... export" isn't part of Python.
That's right. And the solutions given by Fernando and Alex are good to use.
Sometimes I wish that some of Python's namespace facilities could be more
generally available (as opposed to specialized for modules and packages).
Huaiyu
More information about the Python-list
mailing list