chunk vs batched
Posted to
tcl
by Bradipo at Tue Jun 17 16:35:20 GMT 2025
view raw
def chunk(l,n):
def _chunk(i):
return
[i[:n]] + _chunk(i[n:])
if
len(i) > n
else
[i]
return
_chunk(l)
Recent Posts
tcl by florentis
2 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by Florentis
7 days ago
tcl by FLORENTIS
8 days ago
tcl by florentis
9 days ago
tcl by florentis
19 days ago
tcl by torsten
22 days ago
tcl by Florentis
27 days ago
Submit
New paste
Documentation
From Jabber