Re: [Tutor] decorators (the "at" sign)?

2010-10-31 Thread Siren Saren
Thanks for this very helpful post, Lie.  I find decorators quite interesting and am always looking for new ways to understand and use them.  Your trace function is fun, and I added it to my decorator library.  In response to your point about event-handling in GUIs: I haven't used pyqt that exte

Re: [Tutor] decorators (the "at" sign)?

2010-10-27 Thread Siren Saren
Alex, Many people have trouble wrapping their minds around decorators.  I couldn't find a decent explanation either until reading an allegedly 'advanced' python book (b/c 'advanced' is in the title, I guess). An easy explanation might be sufficient, if you don't intend to use them yourself.  A

Re: [Tutor] Response to responses about list of lists: a meta exercise in mailinglist recursion

2010-07-14 Thread Siren Saren
a meta     exercise in mailinglist recursion Message-ID: <201007141019.34529.st...@pearwood.info> Content-Type: text/plain;  charset="utf-8" On Tue, 13 Jul 2010 10:40:44 pm Siren Saren wrote: > I'm not sure if there's a way to submit responses 'live' or &g

[Tutor] Response to Alan re: list of lists response

2010-07-13 Thread Siren Saren
Alan, Your message appeared on the forum right as I posted my response.  Brief unrelated thanks: your website has been a great help to me as I've been learning python.  I'm especially grateful to you for making it so easy to download in various formats, since my health problems make it hard for

[Tutor] Response to responses about list of lists: a meta exercise in mailinglist recursion

2010-07-13 Thread Siren Saren
I'm not sure if there's a way to submit responses 'live' or whether it's better to respond to subthreads at once or together, so I'll err on the side of discretion and just send one response.  Thanks to each of you who tried to help me.  I've responded individually below. To summarize the

[Tutor] Request for help learning the right way to deal with lists in lists

2010-07-12 Thread Siren Saren
I'm still fairly new to programming.  Python is my first language and I am teaching myself as best I can.  I'm struggling with a situation that I expect must come up all the time.  I can come up with relatively complicated solutions but I wonder if there's not a more pythonic way of doing it. I