3 Important Coding Tips
Depth knowledge about the IDE which we are using it. This makes our work easier.
Debugging skill. This particular skill will reduce a lot of coding efforts especially while fixing issues.
Use Google search effectively - Apply trial and error method for issue fixing.
What is Jupyter Notebook?
Jupyter Notebook was born out of IPython in 2014
The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, mathematics, visualizations and narrative text.
Services for interactive computing across dozens of programming languages.
Use of Jupyter Notebook
Data cleaning and transformation
Jupyter Notebook Features
In-browser editing for code, with automatic syntax highlighting, indentation, and tab completion/introspection.
The ability to execute code from the browser, with the results of computations attached to the code which generated them.
Displaying the result of computation using rich media representations, such as HTML, LaTeX, PNG, SVG, etc. For example, publication-quality figures rendered by the matplotlib library, can be included inline.
In-browser editing for rich text using the Markdown markup language, which can provide commentary for the code, is not limited to plain text.
The ability to easily include mathematical notation within markdown cells using LaTeX, and rendered natively by MathJax.
Open Jupyter Notebook
Search for Command Prompt and open it
Type "jupyter notebook" and press Enter
It will take few minutes to load and finally it will display the URL details.
The URL will be Autolaunched in the default browser as per your computer settings.
In case if you want to use it in some other browser, you can use the same URL as mentioned below.
Jupyter Notebook is opened sucessfully. Dashboard will be displayed as below
Click on New Button(Top Right Corner) and select "Folder" Option.
Once folder is created sucessfully ,Select the Folder and Click on "Rename" button.
Enter a meaningful name in the Rename directory window
Click on "Rename" button.
Creation on Python 3 Notebook
Click on New Button(Top Right Corner) and select "Python 3" Option.
New python 3 notebook is created with "Untitled" name
Double click on the Untitled Name
Enter a meaningful name in the Rename Notebook window
Click on Rename Button
Python 3 Notebook is renamed and displayed as below
Executing a sample program to print "Welcome to Python Tutorials"
Make sure the drop down is selected as "Code"
Enter the code as "print("Welcome to Python Tutorials")"
Click on Run Button or Press ( Shift + Enter key)
The program is executed and result is displayed below the code