---
title: "Discussion on \"Why Python Makes you \"Close\" Things (And What Happens When You Don't)\" | Hashnode"
description: "Discussion on \"Why Python Makes you \"Close\" Things (And What Happens When You Don't)\". Every open() is a debt. Here's what happens when you don't pay it back"
url: "https://hashnode.com/posts/why-python-makes-you-close-things/69c62aaf10e664c5da9e8f7b"
---

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

Discussion

# [Why Python Makes you "Close" Things (And What Happens When You Don't)](https://blog.moussaamzat.dev/why-python-makes-you-close-things?utm_source=hashnode&utm_medium=feed)

Every open() is a debt. Here's what happens when you don't pay it back

Mar 27 · 8 min read · blog.moussaamzat.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#backend](https://hashnode.com/tag/backend)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Moussa Kalam AMZAT](https://hashnode.com/@moussakalamamzat)

@moussakalamamzat · Kigali, Rwanda

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

Building, breaking, and learning | A developer who teaches what he learns | EdTech enthusiast

I'm Moussa, a Beninese Software Engineer based in Rwanda. I took what many considered an unlikely path, pivoting from Diplomacy and International Relations to Software Engineering. That career switch taught me something I carry into everything I do: the best learning happens when you're willing to start from zero. I work as a full-time software engineer and contribute to nonprofits supporting African students and sport talents in their education. I'm passionate about EdTech and AI and their potential to empower learners across Sub-Saharan Africa. Writing is how I process what I learn and give it back — every article here is something I wish I'd found when I was figuring it out myself. Fun facts: I'm a certified IJF judo instructor, I taught myself English through YouTube, and I'm always one rabbit hole away from picking up something new.

## Responses 2

Markdown supported · ⌘↵ to post

[Yaroslav Pristupa](https://hashnode.com/@yaro-dev)

[Mar 27](https://hashnode.com/posts/why-python-makes-you-close-things/69c62aaf10e664c5da9e8f7b/comment/69c6b9b67cf2706510291024)

Great breakdown!

[Moussa Kalam AMZAT](https://hashnode.com/@moussakalamamzat)

[Apr 22](https://hashnode.com/posts/why-python-makes-you-close-things/69c62aaf10e664c5da9e8f7b/comment/69c6b9b67cf2706510291024#reply-69e93771d5f8830e7da0921b)

Thank you, [Yaroslav Pristupa](https://hashnode.com/@yaro-dev "Yaroslav Pristupa")
