On 6/15/10 9:03 AM, genkuro wrote:
> I'm coming to Python from Java. I'm still getting a feel for scoping
> limits. For the sake of curiosity, is there another way to refer to a
> package besides name?
The only way to refer to anything is by its name -- or, from a name and
through subscript/dot
On 15/06/2010 17:03, genkuro wrote:
On Jun 15, 8:49 am, Mark Lawrence 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__)
genkuro wrote:
On Jun 15, 8:49 am, Mark Lawrence 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__)
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 can I refer to the original logging package "logging" after this
statement is run? Specifically,
On Jun 15, 8:49 am, Mark Lawrence 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 can I refer
Peter Otten <__pete...@web.de> writes:
> 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__)
>
> Dubious indeed. As a workaround you can im
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__)
Dubious indeed. As a workaround you can import the module again, preferably
under another na
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 can I refer to the original logging package "logging" after this
statement is