Jupyter Notebooks in VS Code | Create, open, and save Jupyter Notebooks

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello friends welcome to cool it help this is jupiter notebook visual studio code tutorial session part two in this tutorial session we will see how to create open and save jupyter notebook these steps are very easy so i will explain you if you are beginner you must know the basic steps okay so if you have seen the first step in which i have explained the jupyter notebook environment setup if you have not seen that video link given in the description of this tutorials and you please watch that tutorial first and come back and continue with this tutorial so we are starting with this tutorial first open your visual studio code and if you guys working with the jupiter notebook and if you have any folder dedicated folder that you have created you can simply open here in the explorer or we have the shortcut button to create a new folder then you can continue creating the new jupyter notebook here uh in this tutorial session already created i have already created one a folder which i have opened here you can see jupyter notebook in vs code and then we are going to create a notebook the step is very simple go to the view click on the command palette here in the list you have to type a simple command like create new jupiter notebook once you type the half of the text you will see the option click on it and soon you will see a untitled file with the extension ipynb in the editor on the bottom side this is asking few examples of the intellicode and api for supporting your work environment so you can cancel it no worries on the bottom side you can see the jupiter server is is ready for the use okay now i will tell you the few things and in case uh you want to save it the process is simple this is simple and this will be treated as a file you can go to the file menu click the save as and you can save your file in the folder which you have opened here in the explorer on left hand side so i'm giving this jupyter notebook file like this notebook 1 and this is saved you can see here if you have already created any jupyter notebook and you want to open so simply you have to visit that folder then you need to do the right click right here you can see this is the code cell once you click on it this is the selected state and you can write the python code now as i was telling you that if you have existing notebook and you want to open do the right click and click here the open and your jupyter notebook will be opened with this visual studio code editor now come back here at this code cell this is the code cell now we are ready to write something on the top we have the different controls like running the different code cells together if you want to introduce one more code cell you can press this option plus code okay now i'm just writing two lines of code declaring the string and then trying to print this string and working with the jupiter notebook here in the visual studio code is really easy once you set up this environment definitely you will find the very comfortable environment for your work and this is this second statement print also if you are working with the python and you have just came in the visual studio first time so i would recommend to install this python extension in your visual studio code so you will get the on the fly uh intellisense linting and the language formatting refactoring variable explorer and lot more support in the visual studio code so this is the basic code which i have written here in this code cell the same thing i'm trying to copy in the second code cell this is the third code cell so i'm showing you uh the interaction and the options available to work here in the jupyter notebook so to run it the code cell on the left side corner you have one play button click on it then the code will be executed so i have just done some modification instead of putting the str in double quotes i am giving it as a variable so we will see the print statement uh the value stored with the string in the same way the second cell is executed so you have the execute button right left on the corner left of the code cell to run it also you have a top button which can execute all code cells at once run all just click on if you want to clear the the output of these cells so simply click here clear output of the cells so guys this is the basic uh thing to create and uh create create the jupyter notebook and saving the jupyter notebook and if you want to enable the a line number so you can simply click here on these three dots and click here show notebook line numbers a shortcut is shift plus l so you can press to bring the line numbers in the code cell you can see this is the ipynb file whenever you create a jupyter notebook the extension will be ipynb and you have the option to save it with the control s or you can do it by creating the file from the explorer as well so guys this is the simple introduction on the jupiter notebook creation open and running a cell and saving the jupiter notebooks there are a lot more things and we will do more exploration on the uh working with the cells in the next tutorial session and i hope to see you there and if you guys found this tutorial relevant and useful please hit the like button and don't forget to subscribe my channel and for now thanks for watching cool id help
Info
Channel: Cool IT Help
Views: 7,520
Rating: undefined out of 5
Keywords: jupyter notebook install windows, jupyter notebook in python, setup jupyter notebook in vs code, jupyter notebook is not working, Working with Jupyter Notebooks in Visual Studio Code, Jupyter Notebook in Visual Studio Code, Installing Jupyter Notebook Support in Visual Studio Code, install jupyter notebook, jupyter notebook online, how to run jupyter notebook, vscode-jupyter add kernel, how to use jupyter notebook, vscode interactive python
Id: 5m0X_XFJhLg
Channel Id: undefined
Length: 7min 25sec (445 seconds)
Published: Wed Sep 14 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.