You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When developing a sophisticated system in Python, for example, a game. The logic is complex, and to restart the game (login & loading) will take a few seconds. In that case, you can write logic and just reload the code. So, when your logic is hard to replay, pydevd_reload would give you a hand.
The usage of pydevd_reload is the same with Python's built-in reload function. While Python 3 is going to make a better reload (importlib.reload: https://docs.python.org/3/library/importlib.html). I haven't run a full comparison between importlib.reload and pydevd_reload, but pydevd_reload comes from pydevd which is widely used in the famous IDE PyCharm and in my practice it works great.
BTW, I will add some practice examples in the future.
Which kind of situation we can use this kind of reload?
Do you have some simple example?
The text was updated successfully, but these errors were encountered: