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: jython-users-admin@lists.sourceforge.net [mailto:jython-users-admin@lists.sourceforge.net] On Behalf Of O'Brien-Strain, Eamonn
Sent: Wednesday, July 10, 2002 8:10 PM
To: 'Bennie v Rotz'
Cc: Jython-users@lists.sourceforge.net
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
eob@hpl.hp.com

-----Original Message-----
From: Bennie v Rotz [mailto:g.vonrotz@chello.nl]
[...] 
    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?
[...]