Using Python To Control Hardware