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 mookie
1 days ago
tcl by sebres
3 days ago
tcl by iobates
20 days ago
tcl by iobates
20 days ago
tcl by iobates
20 days ago
tcl by FLORENTIS
24 days ago
tcl by Florentis
24 days ago
tcl by schelte
29 days ago
tcl by iobates
29 days ago
tcl by cgm
31 days ago
Submit
New paste
Documentation
From Jabber