CheckBt with python