# Different modes of text file "r" = # Open for reading plain text "w" = # Open for writing plain text "a" = # Open an existing file for appending plain text "rb" = # Open for reading binary data "wb" = # Open for writing binary data