Use pymavlink to takeoff an arduplane in sitl

I know how to arm or disarm an arduplane in sitl,using a python script based on pymavlink.but how can i take it off ,just using the python code ,without mavproxy window command