Message256466
should probably be
lines = [x[n*64:(n+1)*64] for n in range(((len(x)-1)//64)+1)]
to avoid an empty line added when the last line is full
which once again shows why people prefer to use standard libraries
for this kind of work |
|
Date |
User |
Action |
Args |
2015-12-15 16:41:54 | bmwiedemann | set | recipients:
+ bmwiedemann, brett.cannon, pitrou, ezio.melotti, mrabarnett, r.david.murray |
2015-12-15 16:41:54 | bmwiedemann | set | messageid: <1450197714.57.0.859913083792.issue25870@psf.upfronthosting.co.za> |
2015-12-15 16:41:54 | bmwiedemann | link | issue25870 messages |
2015-12-15 16:41:54 | bmwiedemann | create | |
|