Peter - well caught!
I've been wondering how that line could have arisen when running a script
through the interpreter from the command line! Pasting it into Idle gives
exactly that output. It was the leading $ that threw me, I took it as the
shell prompt. I think that Camilo was actually typing i
Thomas,
A ha! Now I feel all warm and fuzzy inside. It's nice to start the day with
learning something new.
To be honest, the initial problem was that I didn't understand the meaning
of '__all__', again probably from not working in the large with python.
After posting, I went and had another go a
HI Thomas,
I've not really got the hang of decorators yet, so I was wondering why one
might use your approach rather than just using Karim's original method?
I only really use python for smallish, utility programs, so I suppose I
haven't come across an issue complex enough to see a clear advantag