Discuss Fetching Columns from Table in the Python Programming forum on Dev Shed. Fetching Columns from Table Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.
Posts: 23
Time spent in forums: 7 h 25 m 55 sec
Reputation Power: 0
Fetching Columns from Table
hi ,
i am trying to fetch all column from a database table , but i am only able to fetch 1 column from table , here is a part of code which is fetching one column from table , i want to know ho can i display multiple columns
Code:
db += [(row ['fname'],str(row[ 'userid' ]), False),]
suppose i want to fetch other column say lname , how can do that.
thanks