3 ms·
I quite like the Spyder approach: Pure python code that is segmented into cells by inserting a special comment line. The cells can then be individually execute
by fsh 7y ago
I quite like the Spyder approach: Pure python code that is segmented into cells by inserting a special comment line.
The cells can then be individually executed in an ipython shell, or the entire script can be run with the regular python interpreter. This makes it easy to tweak the individual parts without having to re-run everything. In contrast to jupyter notebooks you still end up with a valid python script that can be easily version controlled.
I just wish that I could use vim instead of the Spyder IDE.