replace 替换

5年以前  |  阅读数:858 次  |  编程语言:Python 
>>> 'i\tlove\tpython'.replace('\t',',')
'i,love,python'

Copyright© 2013-2020

All Rights Reserved 京ICP备2023019179号-8