Skip to content

Instantly share code, notes, and snippets.

@c7h c7h/gist:5003772
Created Feb 21, 2013

Embed
What would you like to do?
split string - fixed format
n = 8 #format
[line[i:i+n] for i in range(0, len(line), n)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.