self.date = QtCore.QDate.currentDate()
self.time = QtCore.QTime.currentTime()
self.updateTime = QtCore.QString(self.time.toString("hh:mm:ss AP"))
if ((self.time.second() % 2) == 0):
self.updateTime[2]= ' '
self.label.setText(self.updateTime)
Error: TypeError: file line 54: 'QString' object does not support item assignment
iam getting this error in if loop, is there any solution? iam new to python any help appreciated....
thank you