Python for
absolute
beginners
class 1 of 4
Yang Liu
Python Introduction
Ø Where is python used for
Ø How to enhance your careers with Python
Ø How Python works
Ø Python installation and IDE selection
Ø Getting started with Python
Ø Automation with Python
My background
• Master and Bachelor in Computer Science
Education • MBA (Rotman School of Management, Finance Specialization)
• Banking: Capital One Bank, Scotiabank and TD Bank
Companies • Healthcare: UHN (Toronto General Hospital, Princess Margaret Hospital and Toronto Western Hospital)
• Others: IBM Global Services, Sandals Marketing, University of Toronto and Start-ups
• Architect: System Architect (IBM), SAS Architect and Enterprise Data Lake/Cloud Architect (Scotiabank)
Roles • Senior Manager: Senior Management, Data Analysis (EDW) and Senior Manager, Stress Testing (GRM)
• Consulting: Senior Consultants at various companies including Capital One Bank and TD Bank
• SAS, Python (ETL, Risk Management Analytics and Modeling)
Technical Skills • R (Risk Management Modelling and Stress testing)
• VBA automation … many more including Web/Mobile programming …
Aspiration • Leverage the latest technologies to bring the best data analysis learning experiences
Python History
Python 2.0 in 2000 Python 2.7 in 2010
Python 0.9 Python 2.7 ends
1991 2008 2020
Python 3.0 Python 3.8
Python 3.9 (Oct 2020)
Python 3.10 (Oct 2021)
How Python works
• The PVM
4**0.5
Creators of Jupyter, Python and Perl
Source: Images are copies from Wikipedia at [Link]
Double Click
Check this, if you miss
Install Now, click yes when asking if python make changes
to your computer
Go to start, type powershell, open it
Hands-on Exercise: Open your Editor/IDE or use Editor online
[Link]
[Link]
Windows CMD and PowerShell
Windows Shell, Terminal and Console
1. Shell is the “Engine” you see in 1. Terminal and Console run on the top Kernel.
terminal. 2. Kernel is the central core of OS (operating system): Controls system and
2. Shell is used interactively via a communicates with hardware.
terminal. 3. Kernel manages files/devices/network/processes, allocates CPU/Memory/Hard
3. Different shells: Bash, Ksh, Zsh … disk resources and controls which part of memory a program/process can access.
Basic Concepts Jupyter Suite
Command line
Jupyter Suite
Shell
Jupyter
Terminal Jupyter Notebook JupyterLab
Qt Console Console
Console
Terminal
Kernel Kernel IPython
Ipython
Notebook Python Terminal
Hard-
ware Windows Mac/Linux/Unix
Command Line Command Line
Powershell Shell
Command Prompt Terminal
Resume Enhancement from Lecture 1
Manager:
1. Can he/she work?
Make sure practice them first 2. Do I like him/her?
ü Python2 3. Can I take him/her to meetings?
ü Python3
ü Vi / Vim You:
ü Powershell (Windows only)
ü Shell/Terminal 1. How I am different?
ü Linux 2. Can I answer the technical
questions?
3. Can I tell my background and
experiences in stories align with
business needs.
Python Introduction
15 minutes Q & A
22