How to use any obtained variable from a function in other functions in Python classes?
How to use any obtained variable from a function in other functions in Python classes? Question: I am trying to use one variable obtained from one function in other function. However , it gives error. Let me explain it wih my code. class Uygulama(object): def __init__(self): self.araclar() self.refresh() self.gateway_find() def refresh(self): self.a, self.b = srp(Ether(dst="FF:FF:FF:FF:FF:FF") …