Day 45: Python File Handling, Errors & Exception Handling Complete Revision |

Pubblicato il: 09 luglio 2026
sul canale di: MrNiritech
39
7

Welcome to Day 45 of the 100 Days Python Challenge by MRNIRITEACH.

In this video, we complete an important milestone in our Python learning journey by revising three essential topics that every Python programmer should understand: File Handling, Errors, and Exception Handling.

This tutorial is designed for beginners as well as students preparing for exams, interviews, and real-world Python projects. Every concept is explained in simple Nepali with practical coding examples that you can follow along.

By the end of this lesson, you will understand how to permanently store data using files, identify and solve different types of programming errors, and write safer programs using exception handling.

Topics Covered

Introduction to File Handling

Why File Handling is Important

open() Function

File Modes (r, w, a, x, b, t)

Reading Files

Writing Files

Appending Data

with open() Statement

Real World Examples

Syntax Error

Runtime Error

Logical Error

Reading Python Traceback

Debugging Basics

Exception Handling

try Block

except Block

else Block

finally Block

raise Keyword

Mini Notes Manager Project

Revision and Summary


Timestamps

00:00 Introduction

01:40 What is File Handling?

03:30 open() Function

05:30 File Modes Explained

08:30 Reading Files

10:30 Writing and Appending Files

13:00 Real World Examples

15:00 Types of Errors

16:30 Syntax Error

17:30 Runtime Error

18:30 Logical Error

20:00 Traceback and Debugging

22:00 Exception Handling

24:00 try and except

26:00 else and finally

28:30 raise Keyword

30:30 Practical Mini Project

34:30 Complete Revision

36:30 Interview Tips

37:30 Summary

Resources

YouTube Channel

   / @mrniriteach  

Python 100 Days Challenge Playlist

   • 100 Days Python Challenge 💯 | Zero to Hero  

GitHub Profile

https://github.com/mrniriteachai-eng

Python Learning Repository

https://github.com/mrniriteachai-eng/...

100 Days Python Challenge Repository

https://github.com/mrniriteachai-eng/...

LinkedIn

  / nirmal-saud-a850193a0  

NumPy Complete Course

   • NumPy Full Course Series 🔥  

Pandas Complete Course

   • Pandas Universe 🚀 | Full Course, Practice ...  

Matplotlib Complete Course

   • Visualize Like an AI Engineer ⚡ | Matplotl...  

About This Series

The 100 Days Python Challenge is a complete Python learning series where we learn Python from absolute beginner level to advanced concepts through practical coding, revision sessions, projects, and interview-oriented explanations.

If you are following this challenge regularly, make sure to practice every example shown in this video and download the notes and source code from GitHub.

In the next video, Day 46, we will start learning Modules and Packages, an important step toward writing professional and reusable Python programs.

If you found this tutorial helpful, consider subscribing to MRNIRITEACH and continue learning Python with us.


In questa pagina del sito puoi guardare il video online Day 45: Python File Handling, Errors & Exception Handling Complete Revision | della durata di ore minuti seconda in buona qualità , che l'utente ha caricato MrNiritech 09 luglio 2026, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 39 volte e gli è piaciuto 7 spettatori. Buona visione!