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

Build a Simple Dynamic Site with Node.js Course (How To)
Treehouse
Introducción a la programación en Python I: Aprendiendo a programar con Python
Pontificia Universidad Católica de Chile via Coursera
Excel/VBA for Creative Problem Solving, Part 2
University of Colorado Boulder via Coursera
Python Functions, Files, and Dictionaries
University of Michigan via Coursera
Estructuras de datos en Python
Universidad Austral via Coursera