to make the python script running in vscode.dev, you need to initiate a jupyter server and leave it running there.
accroding to this article the best way to begin would be miniconda installation and get the kernel things from there.
so comes the steps herein below:
winget install miniconda3 --accept-package-agreements --source winget
to start a jupyter server you'll need to install nb_conda_kernels under conda, which would lead to a bunch of errors if you didn't do the prerequsites.
turns out you don't even have to use nb_conda_kernels package...
the jupyter package on the main channel will do just fine!
conda create -n jupyternotebook -c conda-forge jupyterlab nb_conda_kernels
conda create -n jupyternotebook jupyter
conda activate jupyternotebook
jupyter notebook --no-browser --ip=0.0.0.0 --port=8888 --ServerApp.allow_origin_pat='https://.*vscode-cdn\.net'
copy the token url and move to vscode.dev.
to enable the kernel selection you have to install the recommend extensions.(yeah. bummer. suck it up!)
then select the existing kernel and fill in the url link.
voila!