icon picker
Python Learning Blog

Hello everyone, I have had experience with Python in the past. I’m re-learning how to use this language with new tools such as Jupyter Notebook, Anaconda and advanced techniques.


Notes Section

Lesson 2 - Intro to Python Programming July 15, 2022

Number 7 is an example of a whole number
number 2.5 is an example of a floating-point number
x = 7 is an assignment statement
When you define an identifier, it may consist of letter, digits and underscore characters but never a digit.

Writing and executing Code in a Jupyter Notebook, July 15, 2022

jupyter command is : jupyter lab on the anaconda cmd
This screen will come out
image.png
To execute code on JupyterLab, I must press Control + enter to execute a command.
image.png
To create a new cell, You must press the + Symbol.
image.png
To delete a cell, click in between the cell and Blue Line and type “d” (Twice).
image.png
Restart Kernel and Clear All Outputs allows me to run code without showing me the outputs line by line.
image.png
Run all cells command on the Run Tab will execute each cell without having to execute them one by one.
image.png
output
image.png
To terminate Jypiter Notebook, you must press Control C (Twice) on the anaconda CMD.
Can execute the current cell and add a new one below it
Shift + Enter
Display line numbers within each cell, select Show Line numbers from JupyterLab’s View menu
See the Jupyter team’s introduction to JupyterLab
The Professor of the course I’m taking is recomending the following topics under User Guide
The JupyterLab Interface
Working with Files
Text Editor
Notebooks
Using Markdown instead of code allows you to write etc.
image.png
You can use the # to give it a Heading Style, kind of like what HTML uses.
image.png

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.