Parent module idea dropped? [Python import parent package]

Terry Hancock hancock at anansispaceworks.com
Mon Apr 11 17:02:11 EDT 2005


On Friday 08 April 2005 08:50 am, Laszlo Zsolt Nagy wrote:
> 
> > So finally I got the answer: there was a "parent package" feature in 
> > the ni module but it was dropped of its awkwardness. This is not a big 
> > loss but this is exatly the feature that I need. Is there a person on 
> > this list who was against the "parent package" idea? He must know the 
> > answer or a workaround :-)
> 
> I just created a new module that can handle the 'from __.__.SomeModule 
> import SomeClass' notation.
> Keywords: Python import parent package
> What is the right place to make it available for others?

Well, generally speaking, it seems that most people would stick it on their
website and post a link here.  Or you could just post the text here as an
example (I imagine it's pretty short?).

I'd find it useful myself.

Cheers,
Terry

--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com




More information about the Python-list mailing list