An environmental scientist is writing a Python program to log hourly temperature and humidity readings to a comma-separated values (CSV) text file.
Name two file handling operations that are used to write data to an external text file.