python中输入了π字符,编译器提示错误self.button_57 = wx.Button(self, -1, "\π")求各位告知怎么解决
可以用Unicode编码方式,python中π表示为:
u"\u03C0"
使用用Unicode编码方法