How to display caret symbol in wxPython static text widget?

Viewed 487

Here is a snippet of my code:

        self.diffusivity_label = wx.StaticText(self, label=u'Thermal Diffusivity [m^2/s]')

I would like to display the caret symbol so that my static text can look exactly like this: "Thermal Diffusivity [m^2/s]." After looking online, I tried doing this:

        self.diffusivity_label = wx.StaticText(self, label=u'Thermal Diffusivity [m\u20382/s]')

Doing so displayed the caret symbol, but it was not elevated like I want it to look. Instead, the text looks like this:

enter image description here

What can I do now? Thank you in advance for your help!

2 Answers
Related