from adbutils import adb

# Lister les appareils connectés
devices = adb.device_list()

if devices:
    print("Appareils connectés :")
    for device in devices:
        print(f"- {device.serial}")
else:
    print("Aucun appareil connecté.")
