The error message suggests that you are trying to call the 'ermoveRow' method on a QTableWidget object, which does not exist. Perhaps you meant to call the 'removeRow' method instead?

As for the 'UnboundLocalError', it means that you are trying to use a local variable 'cur' before it has been assigned a value. This usually happens when there is an error or exception that occurs before the variable is assigned. You should check if there are any errors or exceptions that occur before the 'cur' variable is assigned, and make sure to assign a value to it before using it

PySide2QtWidgetsQTableWidget object has no attribute ermoveRowTraceback most recent call last File dpychammain3py line 94 in db2screen curcloseUnboundLocalError local variable cur referenced befor

原文地址: https://www.cveoy.top/t/topic/g8sd 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录