Appending a list using list obtained from a class

Demian Brecht demianbrecht at gmail.com
Wed Oct 24 11:04:44 EDT 2012


On 2012-10-24, at 8:00 AM, inshu chauhan <insideshoes at 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 the same in the same loop its showing me numbers which i want. Why I dont know ??

If you can, please post the relevant blocks of code. That'll be a tremendous help in figuring out your problem.

Demian Brecht
@demianbrecht
http://demianbrecht.github.com







More information about the Python-list mailing list