to thine own SELF be true...

bruno at modulix onurb at xiludom.gro
Fri May 5 13:32:56 EDT 2006


Mark Harrison wrote:
> Is there a way to do something equivalent to "import * from self"?
(snip)
>
> Is there a way to get rid of those the "self." references,

No.

> or is this
> just something I need to get my brain to accept?

Yes.

And FWIW, "from somemodule import *" is usually considered bad style.

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list