transforming list

james_027 cai.haibin at gmail.com
Wed Oct 24 01:31:29 EDT 2007


hi,

On Oct 24, 1:14 pm, "mensana... at aol.com" <mensana... at aol.com> wrote:
> On Oct 23, 9:46?pm, james_027 <cai.hai... at gmail.com> wrote:> hi,
>
> > i have a list from a resultset like this
> > 1,"Chicago Bulls",,,""
> > 2,"Cleveland Caveliers",,,""
>
>    ^                     ^^^ ^
>    |                     ||| |
>    1                     234 5
>
> How come these records have 5 fields...
>
> > 4,"Detroit Pistons",1,"23686386.35"
>
>    ^                 ^ ^            ^
>    |                 | |            |
>    1                 2 3            4
>
> ...whereas these only have 4 fields?
>

sorry, it's a typo error... there are only 4 fields.

thanks




More information about the Python-list mailing list