read a line from standar input in python