accessing elements of a tuple

Matthew Sacks ntwrkd at gmail.com
Fri Jan 30 23:20:40 CET 2009


i am trying to access elements of a tuple without using the [1:5] notation.
the contents of the tuple are as follows:
('--datasourcename', 'DB')

I want to access everything in the second argument, but i am not sure
how to go about this without converting to a string.

thanks in advance



More information about the Python-list mailing list