How to remove last pending order with python?

 
Hello, i want to remove a last limit order with python. Can who help me?
Reason: