Visual Studio 2017 now supports use of a Jupyter Notebook.
A Lap Around Python in Visual Studio 2017
According to the MSDN blog post:
To work with a notebook, simply download your IPYNB file as a .py file and open it in Visual Studio. You’ll see that markdown cells have been turned into comments and each cell is collapsible and expandable.
When I download a IPYNB file, rename to a .py file, it displays in the VS editor as a JSON file containing markdown. I was expecting to see a markdown file. What am I missing?
@Jonathan answer is correct. The MSDN blog was referring to Jupyter Notebooks menu item File->Download->Python (.py)
. There's additional considerations in getting a notebook to run and ultimately a issue with quality of experience.
That said, be aware that Visual Studio's notebook-ish experience is not at the level of Jupyter's, for now. Until VS directly integrates notebooks (.IPYNB files), I see little advantage of using VS over the real Jupyter.
This is what I believe they mean with the download as. You need the Notebook running then click on File-> Download as-> Pythong(.py)
Once you have downloaded your Python file from the notebook you can open it in Visual Studio.
Edited: added the rest of the answer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With