Python Learning Mindray Control