I need some assistance in accessing the values or entries inside the Tuple.
Consider the following data:
('{"email": "test@example.com"}',)
<type 'tuple'>
{"email": "test@example.com"}
<type 'str'>
First it was basically a Tuple.
After further processing, it is being converted to "str:.
You can have a look at following code.
So here I need to get the value for "email".
I tried the following code
rows = cur.fetchall()
for row in rows:
print row
print type(row)
for rowitems in row:
print rowitems
print type(rowitems)
Some one let me the way for the same.