开发者

How to include Non-AscII character in python appengine send html mail

My problem is that I want to compose an email in python environment of google appengine. When I add Greek characters to the body of my message I get: SyntaxError: Non-ASCII character '\xce'

megssage.html = """
<html>
<body>
    παρα开发者_开发百科δειγμα
</body>
</html>"""


Use this shebang:

# -*- coding: utf-8 -*-
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜