RE: Appending a list using list obtained from a class

2012-10-25 Thread Prasad, Ramit
Demian Brecht wrote: > On 2012-10-24, at 8:00 AM, inshu chauhan wrote: > > > Yes, a Class method returns a list. I am trying to append this in main() to > > make another list. > > But the list i am getting after appending i showing addresses like this > > '<__main__.Point object at > 0x0254FAB0

Re: Appending a list using list obtained from a class

2012-10-24 Thread Demian Brecht
On 2012-10-24, at 8:00 AM, inshu chauhan wrote: > Yes, a Class method returns a list. I am trying to append this in main() to > make another list. > But the list i am getting after appending i showing addresses like this > '<__main__.Point object at 0x0254FAB0>' but if i print the same in the

Re: Appending a list using list obtained from a class

2012-10-24 Thread inshu chauhan
> the class is returning the list , and i want to append the list outside the class... main problem is this > > What do you mean "the class is returning the list"? Do you mean that a > class stores a list internally and you want to be able to mutate that list? > Do you mean that you have a class m

Re: Appending a list using list obtained from a class

2012-10-24 Thread Demian Brecht
On 2012-10-24, at 7:45 AM, inshu chauhan wrote: > the class is returning the list , and i want to append the list outside the > class... main problem is this What do you mean "the class is returning the list"? Do you mean that a class stores a list internally and you want to be able to mutate

Re: Appending a list using list obtained from a class

2012-10-24 Thread inshu chauhan
yes this i know very well.. but the problem is not so simple... the class is returning the list , and i want to append the list outside the class... main problem is this I know how to append a list with a list nd stuff.. On Wed, Oct 24, 2012 at 4:41 PM, Demian Brecht wrote: > > On 2012-10-24, a

Re: Appending a list using list obtained from a class

2012-10-24 Thread Demian Brecht
On 2012-10-24, at 7:37 AM, inshu chauhan wrote: > I am having a problem, > > I have a class which return me a list. I want to append another list using > this list outside the Class. > can i do it ? if yes how ? > And can i use Userlist function for this ?? > -- > http://mail.python.org/mai

Appending a list using list obtained from a class

2012-10-24 Thread inshu chauhan
I am having a problem, I have a class which return me a list. I want to append another list using this list outside the Class. can i do it ? if yes how ? And can i use Userlist function for this ?? -- http://mail.python.org/mailman/listinfo/python-list