On Sat, 16 Jun 2007 18:30:26 -0700, Marcpp wrote:

> Hi, I need to returns a tuple from a function (reads a database)
> Any idea?.

I don't understand the question. Just return the tuple the same as you
would return an int or a float or a str or any other data type.

def return_a_tuple():
    return (1, 2, 3)


-- 
Steven.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to