when a file is open in a mode python
Editor choice
1
When Python opens a file, we need to give the file mode in which the file denotes opened. file-mode directs the type of operations like read or write ...