0

Hello!
I have created a database named Ornithobase, which contains a Users table with Name, FamilyName, eMail and Username columns. I have already connected to the database with MySQLdb module. How can I print this table in the console from the Python script? Furthermore, how can I perform a search based on the Username column and print the results on the console?
Cheers!

Dani

3
Contributors
6
Replies
7
Views
6 Years
Discussion Span
Last Post by acrocephalus
0

Thank you jice for your reply. I have already read the tutorial, and I know how to print the data in tuples. However, I would like to print the table in a more user friendly format, something similar as if it was printed directly using MySQL. Is it possible?

Cheers!

Dani

0

Thank you, I'll experiment with it and ask for help if necessary.
Cheers!

Dani

This article has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.