So far you have seen the various Python programs, which took the input from the keyboard and delivered the output on the screen. In this chapter, you will, however, learn to take input from files and write result to the files. Also, we will go through the concept of exceptions.