Learn Excel and Financial Modeling the Way Finance Teams Actually Use Them
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner course demonstrates how to work with text files in Python, including opening, reading, writing, appending, and reading lines. It also introduces exception handling with try, except, else, and finally through hands-on exercises.
Syllabus
Introduction.
Dealing with Text files.
Open, read and write modes.
Hands-on for Open, read and write modes.
Adding text and Counting Characters.
Hands-on for len and append functions.
Readline Function.
Hands-on for Readline Function.
Try and Except.
Hands-on Try and Except.
Try with Else Clause.
Hands-on Try and Except with Else clause.
Finally Keyword.
Hands-on for Finally keyword.
Summary.
Taught by
Great Learning