Added python 3.x input commands