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