providing arguements to queries

Timothy Smith <timothy-/[email protected]> Fri, 26 Nov 2004 14:36:55 +1000
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
is there another way to provide arguements to a query besides tuples? eg.
cur.excute("Select %s from table", (column))
becuase tuples cannot grow or shrink this is VERY limiting, i am in a 
situation right now where i need to select a range of days of week, 
because the length might change using a tuple is a pain.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/