在Python 3.2中,您可以使用http://docs.python.org/3/library/html.html#html.escape [`html.escape`函数],例如. >>> string = """ Hello "XYZ" this 'is' a test ...
確定! 回上一頁