結果 : explain the different file mode operations in python with examples