3 ms·
I used to do this in Jupyter, but switched to vscode. If you have comments that look like: # %% It will treat the following chunk of code like like a Jupy
by dunham 5y ago
I used to do this in Jupyter, but switched to vscode. If you have comments that look like:
# %%
It will treat the following chunk of code like like a Jupyter cell and provide inline ui to run it. It’s almost the same thing as a notebook, but no markdown and your file is just a plain python script.
- Nihilartikel 5y agoNice! I've seen a mention of that here and there, but haven't given it a proper shot yet.