4 ms·
Do you know you can achieve the exact same functionality with the vscode's inline code execution in python files and can create jupyter like code cells with '#
by martianlantern 1y ago
Do you know you can achieve the exact same functionality with the vscode's inline code execution in python files and can create jupyter like code cells with '# %%'?
ref: https://code.visualstudio.com/docs/python/jupyter-support-py?originUrl=%2Fdocs%2Fintrovideos%2Fcodeediting#_jupyter-code-cells https://code.visualstudio.com/docs/python/jupyter-support-py...
- meken 1y agoNo I’ve never heard of it — will play around with it later! Thanks for mentioning it!
- meken 1y agoOkay I tried it out... it's pretty funky. I was expecting to get a fully featured Jupyter notebook, but the Interactive tab is more like a REPL because the "cells" are immutable. You can re-run the cells, which is something. It seems like it's somewhere between a REPL and a notebook. Though interesting, this tool is unsatisfactory for my workflow - if it was I would have just stopped at using an IPython REPL (not being able to freely edit and manipulate cells is a deal-breaker for me).