---
title: "Discussion on \"What Are Context Managers in Python?\" | Hashnode"
description: "Discussion on \"What Are Context Managers in Python?\". One of the most common tasks that you'll have to perform in your programs is working with external resources. These resources can be files on your computer's storage or an open connection to third-party service on the internet.\nFor the sake of simpli..."
url: "https://hashnode.com/posts/context-managers-in-python/66b0ab2fd28cb2f6cba9413a"
---

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

Discussion

# [What Are Context Managers in Python?](https://freecodecamp.org/news/context-managers-in-python?utm_source=hashnode&utm_medium=feed)

One of the most common tasks that you'll have to perform in your programs is working with external resources. These resources can be files on your computer's storage or an open connection to third-party service on the internet. For the sake of simpli...

Oct 2, 2023 · 12 min read · freecodecamp.org  
Read the article

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

## Written by

[Farhan Hasin Chowdhury](https://hashnode.com/@farhanhasin)

@farhanhasin · Dhaka, Bangladesh

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

Staff @ freeCodeCamp 🧑‍💻

Software developer with a knack for learning new things and writing about them.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
