file types: plaintext files, such as .txt .py Binary files, such as .docx, .pdf, iamges, spreadsheets, and executable programs(.exe) steps to read/write files call the open() function to return a File object Call the read() or write() method on the F…