This article is part of #PythonFunBites.
One of the most difficult things about learning a new language can be getting your development environment right. As a newcomer to Python, my favorite way to learn has been with Jupyter Notebooks because the setup experience in Visual Studio Code was really straightforward and fast!
Jupyter Notebooks is an open source project that allows you to run Python code, as well as documentation with Markdown in a single notebook. The VS Code Python extension works with Notebooks natively, so that you can get started on building and debugging locally on your machine. If computation exceeds your machine's ability, you can change the remote server to offload computation.
Ready to try it yourself? Make sure you:
- Install Visual Studio Code
- Install the Python Extension
- Confirm your Python environment has the Jupyter package installed
Need a notebook? Try this demo that explores the PokéAPI, using the Pandas library to query the first 4 generations of Pokémon. Check it out here!
Watch for content on all things Python at Microsoft between the 16th and 20th of November. Stay tuned here at dev.to for all kinds of content ranging from IoT, to Machine Learning and much more! 🐍
Top comments (4)
Link to Python Extension gives 404.
This has been updated, thanks for the heads up!
I need instruction to install TensorFLow 2+ in local Visual Studio Code
Hi! Try these instructions from the community:
tensorflow.org/io/vscode
github.com/alexwalchli/visualstudi...