A better way to split up a list

fidtz at clara.co.uk fidtz at clara.co.uk
Mon May 8 09:42:27 EDT 2006


Argh, embarassment on my part due to incomplete spec. movelist is used
to store a list of chess moves and splitting it up in this way is so it
can be printed in a space that is 3 lines high but quite wide. Thus the
way the list grows as it is appended to in chopupmoves is intended.




More information about the Python-list mailing list