[Tutor] DB qurey Problem
Daniel Nash
dan_nash@hotmail.com
Wed May 7 12:29:02 2003
I have a DB with email addresses in it
when I do the following qurey:
EmailList = db.query("SELECT distinct email FROM users").getresult()
I get a list like this : [('dan.nash@company.com',),
('fred.smit@company.com',)]
I want to return this list without the extra comma in each element in the
list. Can I do this, if so how? Or am I going to have to get rid of it
another way?
Thanks for your help,
Dan
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail