3 ms·
REPL-based development. You might be developing a script, but notice a bug. If you import your script as a module, you can run the function you’re debugging, fi
by telotortium 2y ago
REPL-based development. You might be developing a script, but notice a bug. If you import your script as a module, you can run the function you’re debugging, figure out what’s wrong, edit the file, and then reimport the module (using importlib.reload).
- jraph 2y agoOkay, that's quite convincing, thanks!