Demian Brecht wrote:
On 2012-10-24, at 8:00 AM, inshu chauhan insidesh...@gmail.com 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
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
On 2012-10-24, at 7:37 AM, inshu chauhan insidesh...@gmail.com 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 ??
--
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
On 2012-10-24, at 7:45 AM, inshu chauhan insidesh...@gmail.com 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
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 method
On 2012-10-24, at 8:00 AM, inshu chauhan insidesh...@gmail.com 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