[Python-talk] Oops! Fallen off the track - where to go from here

Bruce Labitt bruce.labitt at myfairpoint.net
Sat Jul 18 17:11:25 EDT 2009


Alright, I have been told I am off track.  So how to get on track?

I have a poor grasp of OOP, so how to improve it?  Any good books on 
this?  Any that won't cause instant narcolepsy?  [How about "OOPS for 
Idiots"?] Seriously, most of the stuff I've seen seems to start at the 
extremely trivial and somewhat boring and then jumps to the extremely 
arcane with nothing in between.  I am the sort of learner that needs a 
few (all right, a lot) of examples showing the concepts, with good 
explanations.  That way the important concepts are reinforced, at least 
that is what works for me.

==== diversion ===============
Despite this chastisement, I am feeling a bit combative, nonetheless.  
The example I gave for OnRadio was nearly stripped out of the wxpython 
demo code for radioBox.py.

Their code used a self.log.write which I was trying to emulate.  I 
didn't understand how self.log was created.  (Sure I saw the assignment 
statement in the code, but I did not understand what was really 
happening.)  It also did not help that their example (demo code) did not 
work.  (Nor did my experimentation yield much useful information.  Read 
that to mean everything I tried did not work.)  In the book WxPython In 
Action, there is not one reference to creating a log, nor how to capture 
what I would call 'state'.  The index in the back of the book does not 
include a 'log' entry.  Perhaps I should know all this, but it must be 
clear to all that I don't.
==== end diversion ===========

I have downloaded Ric's wx code and am taking a look at it.  For some 
reason, I can't take it all in on screen, and will have to print it out 
- learning style I guess.  More questions to follow.

-Bruce







More information about the Python-talk mailing list