Python 07H - Writing Data to a Text File
We write data to a text file in much the same we read data from the file - open a stream channel in write (or append) mode and then use the write( ) method to write the data from the List to the file.
Instructor: Stephen Hustedde (CIS156 - Python Level I at South Mountain Community College in Phoenix, AZ