Running Python Code in Jupyter Notebooks

This section provides a tutorial example on how to use to the online Python IDE provided at

If you want run Python code in Jupyter Notebooks, you can use the JupyterLab provided by It is free to use. And no login is required.

Here is what I did:

1. Go to A Jupyter Notebooks interface is displayed.

2. Click "File > New > Notebbook" menu. A new notebook is displayed.

3. Enter the following code in the notebook.

print("Hello world!")

3. Press "Run" icon. The code will be executed. Output will be displayed in the notebook.

4. Enter the following code to check the Python version.

import sys
sys.version seems to provide the latest version of the Python system.

Run Python Code in Jupyter Notebooks
Run Python Code in Jupyter Notebooks

Table of Contents

 About This Book

Running Python Code Online

 What Is Python Online IDE

 Using Python Shell at

 Running Python Code at

 Python IDE at

 Python IDE at

Running Python Code in Jupyter Notebooks

 Python on macOS Computers

 Python on Linux Computers

 Built-in Data Types

 Variables, Operations and Expressions

 Statements - Execution Units

 Function Statement and Function Call

 Iterators, Generators and List Comprehensions

 Classes and Instances

 Modules and Module Files

 Packages and Package Directories

 "sys" and "os" Modules

 "pathlib" - Object-Oriented Filesystem Paths

 "pip" - Package Installer for Python - Python Libraries for Science

 pandas - Data Analysis and Manipulation

 Anaconda - Python Environment Manager


 Full Version in PDF/EPUB