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.
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.