在Python 3.2中,您可以使用 html.escape function,例如 >>> string = """ Hello "XYZ" this 'is' a test & so on """ >>> import html ...
確定! 回上一頁