Thanks. Your statement is reassuring. Without trying to give my self a
pat on the back, exactly written as I figured. It seems so very
obvious, but the lack of attention to using that style makes one wonder
why it isn't commonly found anywhere in the discussion of more complex
collection of widgets (see my other comments below). In my case, really
following the author's (of 2000 lines of code I have) makes me wonder
why he didn't do it that way. I suspect the answer is he had recently
taken a Python class before writing it, and was following what simply
was taught to get this program completed. (It is not a classroom
program.) I know he put it together quickly, and did quite a
spectacular job of writing the code and interfacing it to some complex
h/w. Alan Gauld wrote: Yep, when I bowed of programming long ago, I had Ousterhout's (something like that) book, and finally sold it on Amazom 5 years ago with the thought I have no plan to use it. Ha! The same thing with Linux/Unix. Five years ago, I marginally used it, and swore off it after having it heavily 10 years before. Two weeks ago, I found a meteor analysis program written in C and to uncover it was of use have (temporarily) climbed back on Linux. I manged to get a clunky old PC back that I gave a friend 3 years ago to put RH on. He had since gone on to a laptop, and put the PC in his garage. Just can't shake the computer habit. :-)
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.01 Deg. W, 39.26 Deg. N) GMT-8 hr std. time) “In mathematics you don't understand things. You just get used to them.” -- John Von Neumann (P.S. The same is true in life.) Web Page: <www.speckledwithstars.net/> |
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor