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

Tag

# #contextlib

2 posts · 0 followers

[Tarun Sharma](https://hashnode.com/@TapsTechie) · [Aug 11, 2024](https://hashnode.com/posts/mastering-context-managers-in-python-a-comprehensive-guide/66b87530c5633a7a8d4a06f9)

### [Mastering Context Managers in Python: A Comprehensive Guide](https://tapstechie.hashnode.dev/mastering-context-managers-in-python-a-comprehensive-guide?utm_source=hashnode&utm_medium=feed)

Master context managers in Python for efficient resource management using the \`with\` statement and custom classes for clean setup and cleanup

5 min read · [tapstechie.hashnode.dev](https://tapstechie.hashnode.dev/mastering-context-managers-in-python-a-comprehensive-guide?utm_source=hashnode&utm_medium=feed)

[Rune Hansén Steinnes-Westum](https://hashnode.com/@roderik) · [Oct 5, 2023](https://hashnode.com/posts/contextlibsuppress-how/651e9bf72582a1f553f8b498)

### [contextlib.suppress .. how..?](https://roderik.no/contextlibsuppress-how?utm_source=hashnode&utm_medium=feed)

have I missed this? New in version Python 3.4.. Today I needed to retrieve a long-winded chat history from our corporate Teams .. thingie. Naturally, I fired up m365 and pulled a json from the server. While parsing the json I got more than a couple o...

1 min read · [roderik.no](https://roderik.no/contextlibsuppress-how?utm_source=hashnode&utm_medium=feed)
