結果 : method reads string from an open file in python