I gotta say, marimo¹ seems to have worked around all the things that kept me from using #python notebooks for anything other than rough sketches. It's a really nice way to do iterative, exploratory work. And they put a lot of smart quality-of-life stuff in there too. The integration with UV and pip is so convenient.