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
5 days ago
tcl by mookie
7 days ago
tcl by cgm
7 days ago
tcl by cgm
8 days ago
tcl by mookie
8 days ago
tcl by mookie
10 days ago
tcl by mookie
10 days ago
tcl by mookie
11 days ago
tcl by oldlaptop
15 days ago
tcl by mookie
55 days ago
Submit
New paste
Documentation
From Jabber