如何在Python中用反斜杠和雙引號替換雙引號? >>> s = 'my string with 'double quotes' blablabla' >>> s.replace(''', '\\'') 'my string with \\'double quotes\\' ...
確定! 回上一頁