QLabels take HTML, so you can use html.escape on the value you are interpolating: self.label.setText(f'<font color = "#E4551F">{num}:</font> ...
確定! 回上一頁