最近,使用Python3.8,我遇到了编码问题。我将问题简化为几行代码。也许Python社区的人可以对我看到的行为有所了解:c = chr(146) # character hex 92 dec 146, end quotecall last):
File "c:/1data/DEV/MyPy/Test/test_e1.py", line 8, in <module>
我正在尝试使用python的模板对象来创建html电子邮件。messages.py", line 109, in email_document_htmlFile "/base/python_runtime/python_dist/lib/python2.5/string.py", line 170, in substitute
return self.