takes 1 positional argument but 2 were given

It is because you are providing it a positional argument here: command want’s a callback function. and you are passing it the response from the adb method. (see here fore more: http://effbot.org/tkinterbook/button.htm) when that line is being called, self.adb(“devices”) is being called. if you look at your definition of adb You are only asking for 1 positional argument self and any number of … Read more