On Mon, May 21, 2018 at 09:11:02AM +0200, dieter wrote:
< lots if good info snipped >
Hi dieter,
I'm still working my way through the info you posted
and making sense of it (mostly)
but didn't want to wait any longer to say 'Thanks.'
Thanks,
Mike
--
Even duct tape can't fix stupid ... But it
Mike McClain writes:
> ...
> Thanks for the response, this is still a foreign language to me and I
> need all
> the help I can get. I'm reading the docs, doing the tutorial again but
> still have
> more questions than answers.
> If I understand what you said, 'taint neces
On Sat, May 19, 2018 at 07:22:28AM +, Steven D'Aprano wrote:
> On Fri, 18 May 2018 18:31:16 -0700, Mike McClain wrote:
>
> I *think* you are describing something like this:
Real close!
> def foo(x):
> return x + 1
>
> def bar(arg):
> a = baz(arg) # do some magic
> result = bar(a)
On Sat, May 19, 2018 at 08:22:59AM +0200, dieter wrote:
> Mike McClain writes:
>
> An "object", in general, is something that can have attributes
> (holding the object state) and methods (defining often operations on
> the object state but in some cases also general operations (not
> related to t
On Fri, 18 May 2018 18:31:16 -0700, Mike McClain wrote:
> Let's say I want something that does most or all of foo's functionality
> plus a little more and maybe tweek some of foo's output, so I write a
> wrapper around foo and call it bar. If inside bar are the call to foo,
> as well as methods ba
Mike McClain writes:
> Let's say I want something that does most or all of foo's
> functionality plus a little more and maybe tweek some of foo's
> output, so I write a wrapper around foo and call it bar.
> If inside bar are the call to foo, as well as methods baz(),
> buz() and bug() that mak