splitting tables

Karl Pflästerer sigurd at 12move.de
Sat Feb 7 16:10:17 EST 2004


On  7 Feb 2004, robsom <- no.mail at no.mail.it wrote:

> And when the program tries to work on the second list it stops (of course!).
> Is there any way to avoid this problem? This kind of error happens quite

What do you want to be done?  To see if an item is missing is trivial:
just check the length of the splitted line (a list).  But what the right
action in that case is belongs to you; should the user be asked? is
always the same column missing? is it possible to distinguish the
entries without errors from each other so the programm can decide which
column is missing?



   KP

-- 
'Twas brillig, and the slithy toves
    Did gyre and gimble in the wabe;
  All mimsy were the borogoves,
   And the mome raths outgrabe.   "Lewis Carroll" "Jabberwocky"



More information about the Python-list mailing list