def __init__(self, address=None, adb_path="adb"):
        """
        Initialize an Adb object

        :param tuple address: The address of the Adb server in the form (host, port).
                              Defaults to ("localhost", 5037)
        """
        if address == None:
            # Default address
            address = ("localhost", 5037)

        self.address = address
        self.socket = Socket(address)
        self.process = AdbProcess(adb_path, address)
def __init__ ( self , address = None , adb_path = "adb" ) : if address == None : address = ( "localhost" , 5037 ) self . address = address self . socket = Socket ( address ) self . process = AdbProcess ( adb_path , address )
Initialize an Adb object

        :param tuple address: The address of the Adb server in the form (host, port).
                              Defaults to ("localhost", 5037)