Python Exception(Error) Handling | Try Except Else Finally | Raise keyword | Python Tutorial Ep. 33

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ก.ค. 2024
  • Whether you're a seasoned Python developer, AI enthusiast, or diving into data science, mastering exception handling is paramount for writing robust and error-tolerant Python code. Join us in this comprehensive guide where we cover the key areas of Try, Except, Else, Finally, and the powerful 'raise' keyword.
    🔍 Topics Covered:
    1️⃣ Try Except Blocks: Learn how to handle exceptions gracefully, preventing your code from crashing when unexpected errors occur.
    2️⃣ Else Clause: Explore the 'else' block to execute code when no exceptions are raised within the 'try' block.
    3️⃣ Finally Clause: Understand the 'finally' block, ensuring code execution, whether an exception occurs or not.
    4️⃣ Raise Keyword: Discover how to raise custom exceptions in your code, providing more control over error handling.
    5️⃣ Handling Multiple Exceptions in Python with multiple except block
    6️⃣ Combining Multiple Exceptions using Tuple
    🚀 Timestamps:
    0:00 Intro
    0:13 Syntax Error in Python
    1:11 Exception in Python
    1:55 Try Except Blocks
    3:49 Else Clause
    4:18 Finally Clause
    5:10 Raise Keyword in Python
    5:57 Handling Multiple Exceptions in Python
    6:49 Combining Multiple Exceptions using Tuple
    🔗 Code Snippets:
    Python Series: github.com/ridwanray/Learn-Py...
    This lesson: github.com/ridwanray/Learn-Py...
    Resources:
    File: drive.google.com/file/d/1y6c7...
    ⭐ Please LIKE and SUBSCRIBE for more educational content on Python, coding, and software development!
    🌐 Connect with us:
    Website: ridwanray.com
    LinkedIn: linkedin.com/in/ridwanray
    Github: github.com/ridwanray
    Medium: ridwanray.medium.com
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 3

  • @ridwanray
    @ridwanray  5 หลายเดือนก่อน +2

    Support Me and The Channel:
    Don't forget to Like, Comment, and Subscribe.
    ► Recommended Books 📜
    Books: ridwanray.com/books
    - Python Crash Course: amzn.to/3vLYnP9
    - Python Tricks: amzn.to/48KvSA2
    - Automate the boring stuff : amzn.to/3SqJzhH
    - Clean Code: amzn.to/3vG5Te9
    - Clean Architecture: amzn.to/3vHu9wC
    ► Setups 💻
    Camera: Sony ZV-E10 amzn.to/4257Vkn
    Monitor: Sceptre 30-inch Curved Gaming amzn.to/491KeeP
    Monitor: Dell UltraSharp U2719D amzn.to/3OdA7LY
    Mic: Shure MV7 amzn.to/4b8i2J2
    🌐 Connect:
    Website: ridwanray.com
    LinkedIn: linkedin.com/in/ridwanray
    Github: github.com/ridwanray
    Articles:
    ridwanray.com/blog

  • @nhbkitchen
    @nhbkitchen 5 หลายเดือนก่อน +2

    Great content ❤

    • @ridwanray
      @ridwanray  5 หลายเดือนก่อน +1

      I'm glad you liked it.