Function that returns a tuple

Carsten Haese carsten at uniqsys.com
Sat Jun 16 21:50:19 EDT 2007


On Sat, 2007-06-16 at 18:30 -0700, Marcpp wrote:
> Hi, I need to returns a tuple from a function (reads a database)
> Any idea?.

def f():
  return (1,2)

Somehow I have the feeling that there's more to your question than
you're letting on...

-- 
Carsten Haese
http://informixdb.sourceforge.net





More information about the Python-list mailing list