I use this code and (wx.SCRIPT, wx.ITALIC, wx.BOLD) are signed as pep8 warning. How can i Fix that?
font = wx.Font(9, wx.SCRIPT, wx.ITALIC, wx.BOLD, False, u'Consolas')
when I pasted your code into pycharm, it said that it "can't find reference to wx.SCRIP, wx.ITALIC and wx.BOLD"
if that disturbs you, you can fix it as follows:
font = wx.Font(9, wx.FONTFAMILY_SCRIPT, wx.FONTSTYLE_ITALIC, wx.FONTWEIGHT_BOLD, False, u'Consolas')
more on it: wxpython docs