YoVDO

Exception and File Handling in Python

Offered By: Great Learning via YouTube

Tags

Python Courses File Handling Courses

Course Description

Overview

Learn essential Python file handling and exception management techniques in this comprehensive tutorial. Explore text file operations, including opening, reading, and writing modes with hands-on practice. Master adding text, counting characters, and using the readline function. Dive into exception handling with try-except blocks, incorporating else clauses and the finally keyword. Gain practical experience through guided exercises and real-world examples. By the end of this 1 hour 20 minute session, develop a solid foundation in Python file manipulation and error handling, enhancing your ability to write robust and efficient code.

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

Related Courses

Artificial Intelligence for Robotics
Stanford University via Udacity
Intro to Computer Science
University of Virginia via Udacity
Design of Computer Programs
Stanford University via Udacity
Web Development
Udacity
Programming Languages
University of Virginia via Udacity