Jupyter Notebook Basic

in #python7 years ago

 In the previous tutorial , we learn how to install python and the available editor and IDE for writing python code. In this tutorial we will discuss the jupyter notebook which we are going to use as editor for writing python code.

To open the notebook, open the command terminal and type the following command.


jupyter notebook

It will open the notebook in the browser.

![3.1-Image.png]()

You can see, currently the list is empty. We can create a notebook by clicking on "New" button at the right corner of the screen. Apart from python code , you can also create the folder,file and python interpreter terminal. Please note that all this will be created on your current directory from where you have launched the notebook.

Let's click on , new and then click on python notebook. It will open the notebook on new tab. By default it is untitled, but you can change it by clicking on Untitled as shown in the figure.

![3.2-Image.png]()

Now you can write your python code in the cell. The comment is started with #. To run the cell, click on cell and press shift+enter to execute the cell. The output will be display there itself as shown in the figure.

![3.3-Image.png]()



The speciality of notebook is that ,it will auto save the content which means you do not have to write the code in a file and save it again to test it. You can write,change and test it there itself. Isn't that cool thing.


Now all the setup has been done. We can now actually concentrate on python coding.  See you in the next tutorial till then "Happy Coding".


Please join the @labwork team and Upvote,follow and resteem!

Comments are always appreciated! 

Sort:  

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by labwork from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, theprophet0, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

Coin Marketplace

STEEM 0.15
TRX 0.16
JST 0.028
BTC 67011.69
ETH 2366.74
USDT 1.00
SBD 2.32