Real module reload in Python?

I am looking at a Python book that spends a decent amount of time reloading a module, but doesn't explain when it would be helpful.

Therefore, I wonder what are real examples of when such a technique becomes convenient?

That is, I understand what a recharge is. I'm trying to understand how you can use it in the real world.

Edit:

I do not suggest that this method is not useful. Instead, I'm trying to learn more about my applications, as it seems like it's cool.

In addition, I think that the people who marked this question as a duplicate did not find the time to really read the question and how it differs from the proposed duplicate. I am not asking how to reload a module in Python. I already know how to do this. I ask WHY you want to reload a module in Python in real life. There is a huge difference in the nature of these issues.

+4
source share
2 answers

( " " ) , , , . , . , "" Erlang.

Python . Python, -, .

: @Aaron, IDE Python .

+3

DYZ, Python.

, ( BTW), , - .

0

Source: https://habr.com/ru/post/1683039/


All Articles