I'm creating a Python app with PyQt Gui. Basically I have multiple LineEdits with variable names like
Line_1 = 'x'
Line_2 = 'y'
Line_3 = 'z'
...
Line_15 = '0'
I wan't to create a loop through them at once like
for i in range(1, 15):
self.Line_{0}.format(i).setEnabled(False)
but i couldn't manage to do it