I personally use Spyder if I develop locally and Jupyter notebooks if I develop on a remote server.
In Spyder I usually run small code snippets or lines with F9, which works just fine! 
It’s a bit like developing with MATLAB line by line.