Interface between a computer and instruments by using Python