Hacker News new | ask | show | jobs
by Noumenon72 1073 days ago
Are you saying that VS Code also lets you do all of the "Run just this cell" that notebooks do?
1 comments

Yes.

In VS Code if you do as below:

#%%

print("my python print")

#%%

Then you can run it as a cell. Crucially however, note that those delimiters are ALSO valid python code. So you just version as with everything else.