Extensions on Linux: import without underscore?
Terry Hancock
hancock at anansispaceworks.com
Tue Jun 21 02:34:54 EDT 2005
On Monday 20 June 2005 06:39 am, Kent Johnson wrote:
> Terry Hancock wrote:
> > Okay, you may want a more elegant way to do this and other people
> > have already responded to that point, but you do at least know you
> > can just give it a new name:
> >
> > import _bright
> > bright = _bright
>
> or more idiomatically and without adding _bright to the namespace:
> import _bright as bright
Um, yeah, I knew that. Really I did. ;-)
--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks http://www.anansispaceworks.com
More information about the Python-list
mailing list