How is memory managed in Python?

Hi, i want to know how memory managed in python

1 Like

Hey

An in-depth answer can be found in python documentation here: https://docs.python.org/3/c-api/memory.html

The reason I sent you that is so I don’t just copy and paste large chunks of text, when that article explains things very well.

In very basic terms… Python will handle the memory for you, and automatically deletes it through the use of a “garbage collector”.

If you have something specific you need help with, please let us know and we can help :slight_smile:

2 Likes

Hi
Thanks for explanation helpful

1 Like