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.
File Handling and Exceptions
Get Learn Python in 7 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.