All pastes #554327 Raw Edit

trim strings via arbitrary thres

public python v1 · immutable
·published 2007-06-10 03:06 UTC
rendered paste body
TRIM = 20k, strings = 0, []myStr = "A really big string thing that is like a penis."while len(myStr) >= TRIM:  strings.append(myStr[k:k+TRIM])  myStr = myStr[k+TRIM:]  k += TRIMstrings.append(myStr)