>>> a = r'aaa\ccc'
>>> a
'aaa\\ccc'
>>> a.split('\\')
['aaa', 'ccc']
>>> ''.join(a.split('\\'))
'aaaccc'
>>> b
'aaa\\ccc'
>>> a
'aaa\\ccc'
>>> c = a + '\\' + 'ddd'
>>> c
'aaa\\ccc\\ddd'
>>> d = c + '\\' + 'eee'
>>> d
'aaa\\ccc\\ddd\\eee'
>>> b = '/'.join(a.split('\\'))
>>> b
'aaa/ccc'
>>>
手动换行的。。。