Using Python I need to insert a newline character into a string every 64 characters. In Perl it\'s easy:
s/(.{64})/$1\\n/
How could this be
Tiny, not nice:
"".join(s[i:i+64] + "\n" for i in xrange(0,len(s),64))