AN INTRODUCTION TO HANDLING EXCEPTIONS IN PYTHON | try except exception handling (beginner python)
Maya Bello Maya Bello
14K subscribers
1,522 views
73

 Published On Jul 11, 2021

This is an introduction to handling exceptions in python! In this beginner's python video, you'll learn about try-except exception handling!

00:00 Intro
00:08 Definition of exception
01:01 What are exceptions in python?
01:55 Setting up a situation where we can use exception handling
03:13 Try except syntax
04:41 W3Schools definition of try except
05:40 explaining code that uses the Wikipedia library
07:28 Running into an exception
08:39 adding try except exception handling to python code
10:39 as keyword in python
11:51 handling multiple exceptions in our code

CONNECT WITH ME
INSTAGRAM:   / maya_loves_code  
SUBSCRIBE to Maya Bello:    / @mayabello  
TIK TOK:   / maya_loves_code  
TWITTER:   / maya_loves_code  
EMAIL: [email protected]
PODCAST: https://anchor.fm/maya-bello
https://linktr.ee/mayabello

DATA STRUCTURE FLASHCARDS
https://forms.gle/WmooasydShKGnYxH9

RESOURCES MENTIONED IN VIDEO:
https://replit.com (code along with me!)
https://pypi.org/project/wikipedia/ (Wikipedia library)
https://www.w3schools.com/python/pyth... (learn more about Python Try Except)
Link to code shown in video: https://replit.com/@MayaBello1/wikipe...

AFFILIATE LINKS
https://www.tubebuddy.com/MayaBello (helps to A/B test my thumbnails)
around.co?utm_source=mayalovescode&utm_medium=youtube (a cool video conferencing tool)

PYTHON RESOURCES
learn to code in python for absolute beginners playlist:    • CODE ALONG WITH ME: python tutorials for a...  
how to install python 3 on MacBook Pro:    • how to install PYTHON 3 on MACBOOK pro | p...  
free resources to learn python:    • FREE resources to LEARN PYTHON | how to le...  

MORE YOUTUBE VIDEOS
Salary as a Software Engineering Intern:
   • How Much do Software Engineers make?  

First day of work as a software engineer:
   • First Day of Work as a Software Engineer |...  

My most underrated but favorite video:
   • Do All Young Software Engineers Think The ...  

Creating a Web Application from Scratch (with Sturdy Code):
   • Building a Web Application Part One | Intr...  

Software Engineering Trips and Conferences (AfroTech, Grace Hopper):
   • my life as a software engineer | AfroTech ...  

Cracking The Coding Interview One Month Challenge:
   • tips on how to finish CRACKING THE CODING ...  

SHOULD YOU GIVE UP ON PROGRAMMING IF YOU FIND IT HARD??:
   • Should I Give Up On Computer Science If I ...  

Majoring in Computer Science:
   • Majoring in Computer Science  

Day in the life of Black Women Engineers Playlist (Senegoddess, Bukola):
   • Day in the Life of a Software Engineer (Co...  

How To Think Like a Programmer:
   • How To Think Like A Programmer  

Day In The Life Of a Software Engineer Playlist:
   • First Day of Work as a Software Engineer |...  

show more

Share/Embed