Microsoft Azure notebooks

Code, Share, Learn using Jupyter notebooks.

Posted by Shivam Ahirao on June 11, 2017
juypter notebooks

Whenever you make your hands dirty on some code or deploy it on your machine what things you usually check:

  • working environment
  • System configuration

If you wish to play around with R , Python (2 and 3), Ruby this post will be very helpful for you! It works best for python though :).
So now without worrying about your system's RAM like I used to 😂, and even working environments, I'll come straight to the solution "jupyter notebooks".

Sometimes while coding we need to install lots of dependencies (modules), we install them either directly (if we use editors like pycharm for python) or we install them using terminal. This is hectic as it takes a lot of time and most of the time we end up learning nothing.
Jupyter notebooks is an opensource web-application (http://jupyter.org/) you can set it locally or Via an Azure Virtual Machine. In this blog I'll tell you how to set it using Azure.
Requirements-

  • Internet connection (pretty good)
  • Microsoft account(you can signup it'll take couple of mins.)

Microsoft azure notebook service provides a FREE jupyter notebook, follow the steps to get started with your own notebook. I have shown using python3.

  1. Log into Azure Juypter Notebook server (https://notebooks.azure.com) using Microsoft account.
  2. image

  3. Go to Libraries (top left of the page).
  4. image

  5. Click New Library to create a library (give it a suitable name, e.g. Python Notebooks.)
  6. >image

  7. You should now be in your new library. Click Open in Jupyter to get a Jupyter environment.
  8. image

  9. At the top-right of the page, click New Python 3. You will now have a new notebook, and you're ready to start working.
  10. image

  11. You should now see your new Juypter Notebook
  12. image

  13. By default, the notebook is titled "untitled", to rename your notebook simply click on untitled and enter the new name
  14. image

  15. And its done, now you have 4GB of RAM on the go just for coding :).
Start coding ;)

It's one of the most effective way of creating interactive notebooks which contains live codes, graphical visualisation etc.

Some shortcuts while running jupyter notebooks-

  • "Ctrl+Enter" to run the current cell.
  • "Shift+Enter" to insert new cell.

Try it put on your own, hope this will help you become more productive.
Happy coding:)