Exceptions in Python || Python Tutorial || Learn Python Programming @Socratica
Exceptions in Python || Python Tutorial || Learn Python Programming  @Socratica
Uploaded June 2018 | Updated September 2026, 2 weeks ago
𝙎𝙩𝙖𝙮 𝙞𝙣 𝙩𝙝𝙚 𝙡𝙤𝙤𝙥 𝙄𝙉𝙁𝙄𝙉𝙄𝙏𝙀𝙇𝙔: snu.socratica.com/python Exceptions allow you to write code which may not work, and then handle the successful and failed cases separately. The four clauses in Python Exception handling are try, except, else, and finally. These give you the ability to handle an error (except), a success (else), or either (finally). Today we introduce the most common types of exceptions in Python, and then show you how to use all 4 exception clauses.
To learn Python, start our Python Playlist HERE:
bit.ly/PythonHelloWorld

Subscribe to Socratica: bit.ly/1ixuu9W

♦♦♦♦♦♦♦♦♦♦

We recommend:
Python Cookbook, Third edition from O’Reilly
amzn.to/2sCNYlZ

The Mythical Man Month - Essays on Software Engineering & Project Management
amzn.to/2tYdNeP

Shop Amazon Used Textbooks - Save up to 90%
amzn.to/2pllk4B

♦♦♦♦♦♦♦♦♦♦

Ways to support our channel:

► Join our Patreon : patreon.com/socratica
► Make a one-time PayPal donation: paypal.me/socratica
► We also accept Bitcoin @ 1EttYyGwJmpy9bLY2UcmEqMJuBfaZ1HdG9

Thank you!

♦♦♦♦♦♦♦♦♦♦

Connect with us!

Facebook: facebook.com/SocraticaStudios
Instagram: instagram.com/SocraticaStudios
Twitter: twitter.com/Socratica

♦♦♦♦♦♦♦♦♦♦

Python instructor: Ulka Simone Mohanty (@ulkam on Twitter)
Written & Produced by Michael Harrison (@mlh496 on Twitter)

♦♦♦♦♦♦♦♦♦♦

Yoda, Star Wars The Exhibition, Madrid
commons.wikimedia.org/wiki/File:YODA_(3343464749).jpg
Author: Daniel Huntley

♦♦♦♦♦♦♦♦♦♦
Exceptions in Python || Python Tutorial || Learn Python ProgrammingRegular Expressions in Python || Python Tutorial || Learn Python ProgrammingWhere did you come from? Human Evolution on socratica.com #shortsSocratica Friends Badges for Members - Channel Membership PerkHow to Manage Stress - Study Tips - Student Mental HealthDiophantine Equations: Polynomials With 1 Unknown  ||  Number TheorySantiago Ramón y Cajal: Biography of a Great Thinker | History of ScienceJSON in Python  ||  Python Tutorial  ||  Learn Python ProgrammingHow to Write a Resume  - Job Applications -  Resume TemplateHow to Use the Feynman Technique - Study Tips - How to StudyImprove Multiple Choice Test Scores - Study Tips - Test StrategiesPARSECS,  Light Years,  or  AU? (Astronomy)
Socratica |

Exceptions in Python || Python Tutorial || Learn Python Programming

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER