Re: printing table on the command line

2010-04-29 Thread Peter Otten
Daniel Dalton wrote: > Hello, > > I'm using the MySQLdb library in python to interface with a mysql > database I've created. I have written a command line app which runs from > the command line. I have 10 fields and hence, have found that each > record spreads over one line. What is the best way

Re: printing table on the command line

2010-04-29 Thread James Mills
On Thu, Apr 29, 2010 at 6:03 PM, Daniel Dalton wrote: > Hello, Hi, > Any examples of how to do this would be great, as I'm blind and it's a > bit difficult to check the spacing. You're welcome to adapt some of my old code written just for this very purpose. I even have a tool called 'pysqlplus'

printing table on the command line

2010-04-29 Thread Daniel Dalton
Hello, I'm using the MySQLdb library in python to interface with a mysql database I've created. I have written a command line app which runs from the command line. I have 10 fields and hence, have found that each record spreads over one line. What is the best way to print a table of a database lik