Re: accessing object attribute as parameter

2005-06-26 Thread [EMAIL PROTECTED]
thanks Diez pujo -- http://mail.python.org/mailman/listinfo/python-list

Re: accessing object attribute as parameter

2005-06-26 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > Hello, > > I would like to access object parameter / variable from a function. > > For example : > class A: > def __init__(self, x,y): > self.x = x > self.y = y > > in the main program, I have a list of obj A: > L = [A(1,2), A(2,3)] > > Now I need to acces