def insert_slash ( string , every = 2 ) : return os . path . join ( string [ i : i + every ] for i in xrange ( 0 , len ( string ) , every ) )
function to repeat string in python
insert_slash insert / every 2 char
def insert_slash(string, every=2):
    """insert_slash insert / every 2 char"""
    return os.path.join(string[i:i+every] for i in xrange(0, len(string), every))