I am trying to write a discord bot in python using Visual Studio Code.
The point is that if I change the code and want to test it, I have to close Visual Studio Code, open it again and run the code. I tried using F5, but it turns out that the former code and the new code are combined and both are executed. How to make code reloading simpler? I open one file, not a folder.