尝试添加超链接时出现以下语法错误,我查看了 href 的 HTML 代码,HTML 代码似乎正确,但 python 抛出语法错误..有人可以帮忙吗?
Python代码
msg_body=("<HTML><head></head>"
"<body>Test"
"<br>Hi All, <br>"
"<b>Wiki @<a href="%s">%s</a> (listed @ go\link) <br><br>"
"<b>Release notes:</b> %s <br><br>"
"<b>Host/Riva Build Combo:</b><br>%s<br><br>"
"<b>Loading instructions:</b><br>%s<br><br>"
"<b>CR fixes:</b><br>%s<br><br>"
"Thanks,<br>"
"B team"
"</body></html>"
) % (wikiURL,Releasenotes,table,Load_ins,crInfo)
错误:-
"<b>Wiki @<a href="%s">%s</a> (listed @ go\wbit) <br><br>" ^
SyntaxError: invalid syntax