mode:passive acitve file:python