Is it possible to get Value out of tuple:
TUPLE = ( (\'P\', \'Shtg1\'), (\'R\', u\'Shtg2\'), (\'D\', \'Shtg3\'), )
by calling S
You want to use a dictionary instead.
d = { 'P': 'Shtg1', 'R': u'Shtg2', 'D':'Shtg3' }
And then you can access the key like so:
d['P'] # Gets 'Shtg1'