RE: Newbie questions for Python usage

2006-08-22 Thread Caolan
Title: Re: Newbie questions for Python usage Thanks Fred. > just assign to the attribute and be done with>  it.  if you want to use a placeholder value, use None:   I thought I had tried that already but got an error. I'll try it again, and as for the 2nd one, I was hoping t

Re: Newbie questions for Python usage

2006-08-22 Thread Fredrik Lundh
Caolan wrote: >1. I understand HOW to use the lambda operator, but WHY would you > want to use it? Can anyone please give an example of WHY you would > need it as opposed to just declaring a function either in the > local scope, or outside? you don't *need* it, because