Message256493
There is a standard library fuction for that ;) the step argument to range():
lines = (result[n:n + 64] for n in range(0, len(result), 64)) |
|
Date |
User |
Action |
Args |
2015-12-15 23:54:14 | martin.panter | set | recipients:
+ martin.panter, brett.cannon, pitrou, ezio.melotti, mrabarnett, r.david.murray, bmwiedemann |
2015-12-15 23:54:14 | martin.panter | set | messageid: <1450223654.57.0.598576848288.issue25870@psf.upfronthosting.co.za> |
2015-12-15 23:54:14 | martin.panter | link | issue25870 messages |
2015-12-15 23:54:14 | martin.panter | create | |
|