I am working on database connectivity in Python 3.4. There are two columns in my database.
Below is the query which gives me all the data from two columns in shown f
To iterate through this: [('F:\test1.py', '12345abc'), ('F:\test2.py', 'avcr123')]
Code: for i in data: print i[0] + '\t' + i[1]
Output:
F:\test1.py 12345abc F:\test2.py avcr123