---
title: "Discussion on \"Experiments with Python - Part 1: Exceptions, Generator and Context Manager\" | Hashnode"
description: "Discussion on \"Experiments with Python - Part 1: Exceptions, Generator and Context Manager\". Handling Exceptions in Python using Generator and Context Manager"
url: "https://hashnode.com/posts/handling-exceptions-with-generator-and-context-manager/60df33104f8e376422a75b91"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Experiments with Python - Part 1: Exceptions, Generator and Context Manager](https://sxddhxrthx.hashnode.dev/handling-exceptions-with-generator-and-context-manager?utm_source=hashnode&utm_medium=feed)

Handling Exceptions in Python using Generator and Context Manager

Jul 2, 2021 · 2 min read · sxddhxrthx.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#error-handling](https://hashnode.com/tag/error-handling)
-   [#generators](https://hashnode.com/tag/generators)
-   [#python3](https://hashnode.com/tag/python3)

## Written by

[Siddhartha Chowdhury](https://hashnode.com/@sxddhxrthx)

@sxddhxrthx · Bangalore, India

  
[View profile](https://hashnode.com/@sxddhxrthx)

DevOps Engineer

I am a DevOps Engineer and mostly write code in Python. At work I build microservices and at leisure I like analyzing data.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
