In article <8f5cfb99-d1d7-42d7-858a-89dd23cd5...@googlegroups.com>, Manatee <markri...@gsoftcon.com> wrote:
> I read in this: > ['C100, C117', 'X7R 0.033uF 10% 25V 0603', '0603-C_L, 0603-C_N', '10', '2', > '', '30', '15463-333', 'MURATA', 'GRM188R71E333KA01D', 'Digi-Key', > '490-1521-1-ND', ''] > > Then I need to convert it to this: > [['C100', 'C117'], 'X7R 0.033uF 10% 25V 0603', '0603-C_L', '0603-C_N', '10', > '2', '', '30', '15463-333', 'MURATA', 'GRM188R71E333KA01D', 'Digi-Key', > '490-1521-1-ND', '']] You want to convert it into a syntax error??? You've got an extra ']' in there somewhere. I'm guessing it's the one at the end, but that's just a guess. Could you clarify what you meant? -- http://mail.python.org/mailman/listinfo/python-list