PyCharm: storing variables in memory to be able to run code from a "checkpoint"

I searched everywhere for the answer to this question, but to no avail. I want to be able to run my code and store variables in memory so that I can set a “breakpoint” that I can work with in the future. The reason is because I have a rather expensive function that takes some time to compute (as well as user input), and it would be nice if I didn’t have to wait for it to end each time I run after I changed something.

I am sure that such a function exists in PyCharm, but I have no idea what it called, and the documentation is not very clear to me at my level of experience. It would save me a lot of time if someone could point me in the right direction.

+4
source share
2 answers

It turns out that this is possible (more or less) using the PyCharm console. I think I should have realized this before, because now it seems so simple (although I have never used the console in my life, so I think I should study).

, , , ..... . PyCharm, " ", .

+1

Pycharm (. pycharm), , , Spyder.

0

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


All Articles