Python Jupyter Notebook
Machine Learning
Portland Data Science Group
Created by Andrew Ferlitsch
Community Outreach Officer
July, 2017
Installing Python
• Using Python 3
• Download Page: https://www.python.org/downloads/
• Windows:
1. Downloaded EXE (installer)
2. Select RUN (to install)
3. Choose Next/Continue to all install prompts
• Windows Command Prompt
• Path to Python interpreter was configured during install.
• C:> python --version
Windows
Command
Prompt
Python
Interpreter
Option to
display version
Wait until after install is complete.
Jupyter Notebook
Jupyter.org: Project Jupyter is an open source project was born out of the IPython
Project in 2014 as it evolved to support interactive data science and scientific
computing across all programming languages.
• Interactive Programming Environment
• Share Notebooks with others.
• Supports 40 Data Science languages (e.g., Python, R, Scala, Julia).
• Big Data Integration (e.g., Apache Spark)
• Visualization Widgets
Installing Jupyter
• Install Instructions: http://jupyter.org/install.html
• Less Experienced: Install with Anaconda (installs many
packages).
• More Experienced: Install with pip3 (command line install)
• PIP3
• Upgrade to the latest pip3 version.
C:> pip3 install --upgrade pip
• Install Jupyter using pip3
C:> pip3 install jupyter
Launching Jupyter from Anaconda
Launch Anaconda and Double Click on Jupyter
Launching Jupyter from CmdLine
• You start the launch of a Jupyter Notebook from the command
line.
• An instance of the Jupyter Notebook will launch in your web
browser as a web application.
C:> jupyter notebook
Upper Right Corner, select New and then Python 3

Python - Installing and Using Python and Jupyter Notepad

  • 1.
    Python Jupyter Notebook MachineLearning Portland Data Science Group Created by Andrew Ferlitsch Community Outreach Officer July, 2017
  • 2.
    Installing Python • UsingPython 3 • Download Page: https://www.python.org/downloads/ • Windows: 1. Downloaded EXE (installer) 2. Select RUN (to install) 3. Choose Next/Continue to all install prompts • Windows Command Prompt • Path to Python interpreter was configured during install. • C:> python --version Windows Command Prompt Python Interpreter Option to display version Wait until after install is complete.
  • 3.
    Jupyter Notebook Jupyter.org: ProjectJupyter is an open source project was born out of the IPython Project in 2014 as it evolved to support interactive data science and scientific computing across all programming languages. • Interactive Programming Environment • Share Notebooks with others. • Supports 40 Data Science languages (e.g., Python, R, Scala, Julia). • Big Data Integration (e.g., Apache Spark) • Visualization Widgets
  • 4.
    Installing Jupyter • InstallInstructions: http://jupyter.org/install.html • Less Experienced: Install with Anaconda (installs many packages). • More Experienced: Install with pip3 (command line install) • PIP3 • Upgrade to the latest pip3 version. C:> pip3 install --upgrade pip • Install Jupyter using pip3 C:> pip3 install jupyter
  • 5.
    Launching Jupyter fromAnaconda Launch Anaconda and Double Click on Jupyter
  • 6.
    Launching Jupyter fromCmdLine • You start the launch of a Jupyter Notebook from the command line. • An instance of the Jupyter Notebook will launch in your web browser as a web application. C:> jupyter notebook Upper Right Corner, select New and then Python 3