def b64_print(s):
    """
    Prints a string with spaces at every b64_intro characters
    :param s: String to print
    :return: String
    """
    if USING_PYTHON2:
        string = str(s)
    else:
        string = str(s, 'utf8')
    return '\n'.join(
        string[pos:pos + b64_intro] for pos in range(0, len(string), b64_intro)
    )
def b64_print ( s ) : if USING_PYTHON2 : string = str ( s ) else : string = str ( s , 'utf8' ) return '\n' . join ( string [ pos : pos + b64_intro ] for pos in range ( 0 , len ( string ) , b64_intro ) )
Prints a string with spaces at every b64_intro characters
    :param s: String to print
    :return: String