Printing database output in tabular form

2006-11-13 Thread ronrsr
when I try to print a web table containing output from a database, I am getting more info than I want- - I would like this to print w'o the array('c',AND I'd like the control characters to print as HTML control chars. array('c', '- In the boom years of 1990-1997 developing countries paid

Re: Printing database output in tabular form

2006-11-13 Thread Fredrik Lundh
ronrsr wrote: when I try to print a web table containing output from a database, I am getting more info than I want- - I would like this to print w'o the array('c', arrays instead of strings? what database is this, and how is that column defined ? /F --

Re: Printing database output in tabular form

2006-11-13 Thread ronrsr
On Nov 13, 2:48 pm, Fredrik Lundh [EMAIL PROTECTED] wrote: ronrsr wrote: when I try to print a web table containing output from a database, I am getting more info than I want- - I would like this to print w'o the array('c',arrays instead of strings? what database is this, and how is

Re: Printing database output in tabular form

2006-11-13 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], ronrsr wrote: when I try to print a web table containing output from a database, I am getting more info than I want- - I would like this to print w'o the array('c',AND I'd like the control characters to print as HTML control chars. Look up the `tostring()` method

Re: Printing database output in tabular form

2006-11-13 Thread Gabriel Genellina
At Monday 13/11/2006 16:40, ronrsr wrote: when I try to print a web table containing output from a database, I am getting more info than I want- - I would like this to print w'o the array('c',AND I'd like the control characters to print as HTML control chars. array('c', '- In the boom

Re: Printing database output in tabular form

2006-11-13 Thread ronrsr
I just changed the database to be a TEXT field, and that took care of the array() stuff - Now, I'm trying to convert the formatting codes to html. thanks for your help. bests, r0sr- -- http://mail.python.org/mailman/listinfo/python-list