I'm programing a Tello with python, my Tello land after some seconds after takeoff. Also I want to programing a routine in Python too, there are some example of a routine? Thnks
You need a continous communication with Tello at least every few seconds, otherwise it will go into failsafe mode and land. It is described in the SDK docs. Meanwhile SDK 3.0 is available.
There are many examples out there and also in this forum. Just search a little bit...