logging = logging.getLogger(__name__)

2010-06-15 Thread genkuro
Newbie here. I may be missing something obvious, in which case, please feel free to berate and laugh at me. Here's a dubious line of code: logging = logging.getLogger(__name__) How can I refer to the original logging package logging after this statement is run? Specifically, I'm trying to add

Re: logging = logging.getLogger(__name__)

2010-06-15 Thread genkuro
On Jun 15, 8:49 am, Mark Lawrence breamore...@yahoo.co.uk wrote: On 15/06/2010 16:35, genkuro wrote: Newbie here.  I may be missing something obvious, in which case, please feel free to berate and laugh at me. Here's a dubious line of code: logging = logging.getLogger(__name__) How

Newbie: import

2007-04-18 Thread genkuro
I thought import used relative paths from either the python executable or the script being executed. I have a script pulling in code from an arbitrary directory. How is this happening? It's a RHEL 4 environment by the way. I couldn't find any relevant environment variables. Thanks from a