For odoo 8:::
Now using this I can get one value
sqary1="SELECT name FROM p_task where id ="+str(mem_id)
str2= str(self.env.cr.fetchone()[0])
if my query is this::::::::::::::: "SELECT ALL FROM p_task"
then I get multiple values.How I can enter all this values in a python array?
what to write instead of str(self.env.cr.fetchone()[0]) to catch this multiple values in an array
TIA