你可以通过以下三种方式之一进行操作:
1)一起使用单引号和双引号:
>>> print '"A word that needs quotation marks"'"A word that needs quotation marks"
2)转义字符串中的双引号:
>>> print ""A word that needs quotation marks"""A word that needs quotation marks"
3)使用三引号引起来的字符串:
>>> print """ "A word that needs quotation marks" """"A word that needs quotation marks"



