Can someone help to interract unreal engine with Python Script

Hi, I am using airsim with unreal engine for a simulation. I need to execute the python script with unreal engine using button and get the variable (like flight mode, altitude etc. of drone) from that python script in unreal engine. Can anyone help me with that?