On Wed, Sep 24, 2014 at 7:55 AM, luofeiyu <elearn2...@gmail.com> wrote: > > now what i want to do is : > 1.keep return(self.res) in grow method. > 2.it is my target that when run the code: > > import analyse > x=analyse.status() > x.grow() > > there is nothing output in my console , to make return(self.res) not to output the content of list , > how can i do ?
You could write a separate method that just calls self.grow() and does not return the result, and call that method instead from the interactive interpreter.
-- https://mail.python.org/mailman/listinfo/python-list