---
title: "Discussion on \"Context Managers: Managing resources in Python the right way\" | Hashnode"
description: "Discussion on \"Context Managers: Managing resources in Python the right way\". The What\nIf you've worked with Python for any length of time, chances are that you might have come across the term context manager. Or if you're a beginner getting your feet wet, you might have seen the with keyword being used in tutorials, most like..."
url: "https://hashnode.com/posts/context-managers-managing-resources-in-python-the-right-way-1/5f8b70216eb39417ce5e6297"
---

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

Discussion

# [Context Managers: Managing resources in Python the right way](https://adityamahapatra.hashnode.dev/context-managers-managing-resources-in-python-the-right-way-1?utm_source=hashnode&utm_medium=feed)

The What If you've worked with Python for any length of time, chances are that you might have come across the term context manager. Or if you're a beginner getting your feet wet, you might have seen the with keyword being used in tutorials, most like...

Oct 18, 2020 · 7 min read · adityamahapatra.hashnode.dev  
Updated Sep 2, 2022  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#contextmanagers](https://hashnode.com/tag/contextmanagers)
-   [#with](https://hashnode.com/tag/with)

## Written by

[Aditya Mahapatra](https://hashnode.com/@adityamahapatra)

@adityamahapatra · Mumbai, India

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

Python Developer. Technical Writer. Gamer. Football Lover.

I'm a Python developer working in the Visual Effects industry!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
