How To Stop Waiting For User Input In Python