[Tutor] Logger object not passed between modules

2011-07-26 Thread Luke Thomas Mergner
Hi, Python 2.7.2 wxPython 2.9.1.1 OS X 10.7 I am very new to Python and programming, basically just a curious hobbyist. I am building a learning app that hopefully will include a wxPython GUI. Right now I am trying to understand my code better by including print statements. Now I know that

Re: [Tutor] Logger object not passed between modules

2011-07-26 Thread Walter Prins
Hi Luke, On 26 July 2011 06:58, Luke Thomas Mergner lmerg...@gmail.com wrote: The logger object is created within a function in the main app class. Is this wrong? I thought that logger ensured the same object is used by both classes. The logger.getLogger(__name__) doesn't set anything other

Re: [Tutor] Logger object not passed between modules

2011-07-26 Thread Peter Otten
Luke Thomas Mergner wrote: I am very new to Python and programming, basically just a curious hobbyist. I am building a learning app that hopefully will include a wxPython GUI. Right now I am trying to understand my code better by including print statements. Now I know that I could just