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).

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to