Arduino (a micro controller based development board) is best to begin with. Learn C++ to program Arduino and then use python to interface the Arduino.
Arduino enables a program to talk to physical devices like relays etc. and python is easier for interfacing USB port where Arduino is usually connected.