control hardware from python