I am a bit of a noob, so forgive me if this is a simple question.
我正在撰写一个进行科学模拟的方案,其中一些参数以微型米测量。 这些参数的脂重为微米,其 gr状 symbol为metre。
Ideally i would like to set the suffix for my spin boxes to be µm, but i get the following error: "SyntaxError: Non-ASCII character"
I am comfortable setting the suffix for spin boxes but have no idea about character encoding. I am using Python 2.6 and PyQt4 on windows 7, and this is an example of how i have tried to do this:
spin1 = QtGui.QDoubleSpinBox()
spin1.setSuffix("µm")
This has been really irritating me and i can t get my head around any of the solutions i have found online, so any help would be greatly appreciated.