Re: hidden built-in module

2008-03-07 Thread koara
> You can only try and search the sys-path for the logging-module, using > > sys.prefix > > and then look for logging.py. Using > > __import__(path) > > you get a reference to that module. > > Diez Thank you Diez, that's the info i'd been looking for :-) So the answer is sys module + __import__

Re: hidden built-in module

2008-03-07 Thread Gabriel Genellina
En Fri, 07 Mar 2008 12:15:04 -0200, koara <[EMAIL PROTECTED]> escribi�: > On Mar 5, 1:39 pm, gigs <[EMAIL PROTECTED]> wrote: >> koara wrote: >> > Hello, is there a way to access a module that is hidden because >> > another module (of the same name) is found first? >> >> > More specifically, i have

Re: hidden built-in module

2008-03-07 Thread Diez B. Roggisch
koara schrieb: > On Mar 5, 1:39 pm, gigs <[EMAIL PROTECTED]> wrote: >> koara wrote: >>> Hello, is there a way to access a module that is hidden because >>> another module (of the same name) is found first? >>> More specifically, i have my own logging.py module, and inside this >>> module, depending

Re: hidden built-in module

2008-03-07 Thread Michael Wieher
2008/3/7, koara <[EMAIL PROTECTED]>: > > On Mar 5, 1:39 pm, gigs <[EMAIL PROTECTED]> wrote: > > koara wrote: > > > Hello, is there a way to access a module that is hidden because > > > another module (of the same name) is found first? > > > > > More specifically, i have my own logging.py module, an

Re: hidden built-in module

2008-03-07 Thread koara
On Mar 5, 1:39 pm, gigs <[EMAIL PROTECTED]> wrote: > koara wrote: > > Hello, is there a way to access a module that is hidden because > > another module (of the same name) is found first? > > > More specifically, i have my own logging.py module, and inside this > > module, depending on how initiali

Re: hidden built-in module

2008-03-07 Thread gigs
koara wrote: > Hello, is there a way to access a module that is hidden because > another module (of the same name) is found first? > > More specifically, i have my own logging.py module, and inside this > module, depending on how initialization goes, i may want to do 'from > logging import *' fro