6 ms·
Yes that’s a big plus of notebooks. Hopefully a solution can be found for .py files in future where you can earmark the top part of the script to be cached so t
by HuwFulcher 4y ago
Yes that’s a big plus of notebooks. Hopefully a solution can be found for .py files in future where you can earmark the top part of the script to be cached so the interpreter skips over it
- akx 4y agoWhere would an interpreter cache things if it's not running anymore? The disk? You're back to loading data from disk.
- HuwFulcher 4y agoYep, I don't know enough about the interpreter under the hood but an interactive mode like a debugger where you can go back to a previous line, etc might be the solution. I doubt that's high on the priorities of the Python team though.