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 rhobart
16 hours ago
tcl by rhobart
16 hours ago
tcl by rhobart
1 days ago
tcl by Bradipo
1 days ago
tcl by rhobart
1 days ago
tcl by sssc
5 days ago
tcl by mookie
21 days ago
tcl by JMN
29 days ago
tcl by JMN
29 days ago
tcl by mookie
30 days ago
Submit
New paste
Documentation
From Jabber