Best pattern/idiom

Tom B. sbabbitt at
Tue Aug 10 00:17:07 CEST 2004

"Chris Connett" <chrisccc_3k at> wrote in message
news:4117c3d8$1 at
" [ lis[n:n+4] for n in range( 0, len( lis ), 4 ) ]
> which seems very kludgy to me, since it uses a range and len, "

range and len are kludgy only to non-python programers.


More information about the Python-list mailing list