From: brian z. <bz...@zi...> - 2002-07-11 02:15:26
|
Bennie, As per the Python DB spec each row is represented as a sequence. If you wish only to get the string: data = [a[0] for a in data] thanks, brian -----Original Message----- From: jyt...@li... [mailto:jyt...@li...] On Behalf Of O'Brien-Strain, Eamonn Sent: Wednesday, July 10, 2002 8:10 PM To: 'Bennie v Rotz' Cc: Jyt...@li... Subject: RE: [Jython-users] is there a zxJDBC methode for this. Importance: High Bennie, For this particular example you could replace the print a with print a[0] However, not being familiar with this DB package, I do not know how general a solution it is. __ Eamonn O'Brien-Strain HP Labs eo...@hp... -----Original Message----- From: Bennie v Rotz [mailto:g.v...@ch...] [...] for a in data: print a db.close() OUTPUT: ('canvas',) ('canvass',) ('canvasser',) # and that I don't need. I can't dispose the (' ',) how com? [...] |