Hi python guys,

I just started to dig in Python. I am new to this. I came close to Python when I got a project to be done with Django.

I got stuck when I was fetching data from database(mysql). the data was fetched in variable 'rows' which have Id, FirstName, LastName, Department as the fields name(database-table fields name). Now I am not able to get above fields value.

How to get the values of Id, FirstName. LastName and Department from variable 'rows'.


I hope I have cleared my issue. If not let me know.

Thanks,
chap

Problem solved.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.