How To Put Input In Python Using File Object