http://mf34jlghauz5pxjcmdymdqbe5pva4v24logeys446tdrgd5lpsrocmqd.onion/_modules/stem/util/str_tools.html
. :: > > > _split_by_length( ' hello ' , 2) [ ' he ' , ' ll ' , ' o ' ] :param str msg: string to split :param int size: number of characters to chunk into :returns: **list** with chunked string components " " " return [ msg [ i : i + size ] for i in range ( 0 , len ( msg ), size )] # This needs to be defined after _to_camel_case() to avoid a circular # dependency with the enum module.