I am making the query to be able to show within a lineedit the respective values to the columns of the database this is my interface:
and this is the query I try to execute:
tx = self.l_usuario.text()
cursor.execute("SELECT Usuario,Contraseña,Pregunta,Respuesta,Permisos FROM Usuarios WHERE Usuario=?",(tx,))
print(cursor.show())