Thanks very much, that is a far tidier solution!!
--
http://mail.python.org/mailman/listinfo/python-list
> 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.
Per
[EMAIL PROTECTED] wrote:
> The code below works fine, but it is less than nice to look at and
> somewhat long winded. Is there a better way to do the docstring task?
> This is the first working version, and can proabably be "compacted" a
> bit (list comprehensions etc) but I am looking for a better
[EMAIL PROTECTED] wrote:
> The code below works fine, but it is less than nice to look at and
> somewhat long winded. Is there a better way to do the docstring task?
> This is the first working version, and can proabably be "compacted" a
> bit (list comprehensions etc) but I am looking for a better
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.
--
http://mail
On 8/05/2006 10:45 PM, [EMAIL PROTECTED] wrote:
> The code below works fine, but it is less than nice to look at and
> somewhat long winded. Is there a better way to do the docstring task?
> This is the first working version, and can proabably be "compacted" a
> bit (list comprehensions etc) but I
> The code below works fine, but it is less than nice to
> look at and somewhat long winded. Is there a better way
> to do the docstring task? This is the first working
> version, and can proabably be "compacted" a bit (list
> comprehensions etc) but I am looking for a better basic
> approach. Any
The code below works fine, but it is less than nice to look at and
somewhat long winded. Is there a better way to do the docstring task?
This is the first working version, and can proabably be "compacted" a
bit (list comprehensions etc) but I am looking for a better basic
approach. Any help much ap