output file for ex17.py
program for writing/copying to files