Read From Stdout Python Code For Calculator