from djitellopy import Tello import time tello = Tello() tello.connect() bat = tello.get_battery() print(f"Battery level: {bat}%") tello.initiate_throw_takeoff() tello.land()