>>> qfields = ['"' + fld.strip() + '"' for fld in (num,desc,date)]
 >>> out = qfields.join(',')

Just a quick note here to prevent the confusion of the OP...this should be

  ','.join(qfields)

-tkc




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

Reply via email to