> > I would like to display some of the items in the tuples in columnar
> > format with each column lining up on the left side (below should be
> > three neat columns with location, training type, number trained and
> > date):
>
> You need to read up on string formatting. That allows you to specif
On 07/05/12 14:43, Thomas C. Hicks wrote:
I would like to display some of the items in the tuples in columnar
format with each column lining up on the left side (below should be
three neat columns with location, training type, number trained and
date):
You need to read up on string formatting.
On 5/7/2012 6:43 AM Thomas C. Hicks said...
I would like to display some of the items in the tuples in columnar
format with each column lining up on the left side
I am not against reading
documentation, just can't find the right module to read about.
You'll want to read up on the string int
On 5/7/2012 9:43 AM, Thomas C. Hicks wrote:
I have some data that comes out of a database as a list of tuples of
integers and strings, one tuple for each row in the ResultProxy from
the select operation. The data looks something like this:
Where the data comes from is not relevant. Please don't c
I have some data that comes out of a database as a list of tuples of
integers and strings, one tuple for each row in the ResultProxy from
the select operation. The data looks something like this:
[(56, 12, 8, u'2012-02', 10, 12, u'Guangxi Province', u'Guangxi',
u'10', 8, u'TOT'), (57, 21, 1, u'201