如何使用python脚本添加超链接?
我正在尝试向通过python send mail发送的电子邮件添加超链接。我想在废话后面加一个链接。提前谢谢 以下是我到目前为止的情况: 您可以将其用于此目的 例如:如何使用python脚本添加超链接?,python,Python,我正在尝试向通过python send mail发送的电子邮件添加超链接。我想在废话后面加一个链接。提前谢谢 以下是我到目前为止的情况: 您可以将其用于此目的 例如: link = 'https://google.com' mymail = 'Hello friend!\nCheck this out {}'.format(link) print mymail >>> Hello friend! >>> Check this out https://goog
link = 'https://google.com'
mymail = 'Hello friend!\nCheck this out {}'.format(link)
print mymail
>>> Hello friend!
>>> Check this out https://google.com
结果是
this is my e-mail:test@gmail.com
这是你想要的吗?
我需要更详细的描述将代码作为文本放在这里。
this is my e-mail:test@gmail.com