On 09/30/2010 03:18 PM, Ed Leafe wrote: > On Sep 30, 2010, at 6:17 PM, Jeff Johnson wrote: > > >> I am reading a table and I get the following tuple: >> >> to get the following I do a: >> >> record[1:2] >> record[2:3] >> record[3:4] >> >> <type 'tuple'> >> (u'pop.myserver.net',) >> (u'[email protected]',) >> (u'secretpassword',) >> >> How do I turn those into the strings: >> >> "pop.myserver.net" >> "[email protected]" >> "secretpassword" >> > host, email, secret = record[1:2] > > > -- Ed Leafe > > > > Beautiful! (record[1:4])
Thanks! Jeff ------------------- Jeff Johnson [email protected] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
