I have python script with jupyter notebook mark #%%
which describe that I can run this script in visual studio code python interactive.
Acccording to this:
I have similar question because described solution does not work in my case. How to specify shortcut for jupyter notebook command 'run all' in visual studio code?