I haven't upgraded to JupyterLab 4 because the plugins that I use to make jupyter lab IDE-like (jupyterlab-git, jupyterlab-vim, jupyterlab-lsp) need to all be stable on the new version first.
But, yeah, you can develop python software in Jupyterlab if that makes sense for you.
But, yeah, you can develop python software in Jupyterlab if that makes sense for you.