On Jan 11, 6:20 pm, Fredrik Lundh <[EMAIL PROTECTED]> wrote:
> Lie wrote:
> > Is there a way to create a property with arguments?
>
> That's called method in Python, and has it's own syntax. You cannot
> assign to methods.
So you've got to use methods? It was in VB.NET that I learned about
proper
Lie wrote:
> Is there a way to create a property with arguments?
That's called method in Python, and has it's own syntax. You cannot
assign to methods.
> Or an index value like a list?
Make the property that returns a list-like object (hooking __getitem__,
__setitem__, etc).
--
http://m