---
title: "#contextmanagers articles | Hashnode"
description: "Explore 1 articles tagged #contextmanagers on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/contextmanagers"
---

Tag

# #contextmanagers

1 posts · 0 followers

[ZyVOP](https://hashnode.com/@zyvop) · [Oct 21](https://hashnode.com/posts/decorators-context-managers-the-and-with-you-keep-seeing-c925u/6ad85fd2cf8af28a4767783c)

### [Decorators & Context Managers: The @ and with You Keep Seeing](https://blog.zyvop.com/decorators-context-managers-the-and-with-you-keep-seeing-c925u?utm_source=hashnode&utm_medium=feed)

Understand the @ and with you keep seeing in FastAPI and PyTorch code: how decorators wrap functions, how context managers clean up, and how to build both yourself.

10 min read · [blog.zyvop.com](https://blog.zyvop.com/decorators-context-managers-the-and-with-you-keep-seeing-c925u?utm_source=hashnode&utm_medium=feed)

[Aditya Mahapatra](https://hashnode.com/@adityamahapatra) · [Oct 18, 2020](https://hashnode.com/posts/context-managers-managing-resources-in-python-the-right-way-1/5f8b70216eb39417ce5e6297)

### [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...

7 min read · [adityamahapatra.hashnode.dev](https://adityamahapatra.hashnode.dev/context-managers-managing-resources-in-python-the-right-way-1?utm_source=hashnode&utm_medium=feed)
