I'm not sure what you mean here.

Have a look at this code for printing a table:
https://github.com/RickyCook/pptable

On Thursday, 23 January 2014, adaschevici <notifications@github.com> wrote:

> In lettuce/strings.py:
>
> > +        return line.replace(escape, '|')
> > +
> > +    def discard_comments(lines):
> > +        return [line for line in lines if not line.startswith('#')]
> > +    lines = discard_comments(lines)
> > +    lines = map(enline, lines)
> > +    non_unique_keys = []
> > +    json_map = []
> > +    if lines:
> > +        first_line = lines.pop(0)
> > +        non_unique_keys = split_wisely(first_line, u"|", True)
> > +        non_unique_keys = map(deline, non_unique_keys)
> > +        rng_idx = len(non_unique_keys)
> > +        json_map = list(non_unique_keys)
> > +        for idx in xrange(rng_idx):
> > +            json_map[idx] = dict([(non_unique_keys[idx], [])])
>
> Adapted to the case. Seems to work with
> json_map = [dict([(key, [])]) for key in non_unique_keys]
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/gabrielfalcao/lettuce/pull/414/files#r9106423>
> .
>