1
PYTHON
BUSINESS
PYTHON
INTRODUCTION TO
Topic 1
PYTHON
PRESENTED BY:
NOR HAFIZAH BINTI ABDUL RAZAK
1.1 Overview of Python
TOPICS
Programming
2
OUTLINE 1.2 Preparation for programming
1.3 Python as Interactive
interpreter
1.4 Basic types
OVERVIEW OF PYTHON PROGRAMMING 3
Was designed in the early 1990s by Guidovan Rossum.
Design Goal: To provide a simple yet powerful syntax compared to
languages like C, C++, Java, and C#.
Accessibility: Designed to be beginner-friendly with a shallower
learning curve while remaining effective for experts.
Used by major organizations:
Tech Giants: Google, Facebook (Meta), Yahoo.
Scientific & Creative Hubs: CERN, NASA, Industrial Light and Magic.
MAIN AREA 4
DATA SCIENCE & DATA ARTIFICIAL
DEEP LEARNING
ANALYTICS INTELLIGENCE
ENTERPRISE
WEB DEVELOPMENT
APPLICATION
PREPARATION FOR PROGRAMMING
Choosing your data science toolkit
5
The Industry Standard: Jupyter Notebooks
Why it’s used: Allows you to combine live code, equations, and
visualizations in one document.
Key Benefit: You can run one "cell" of code at a time—perfect for
cleaning data or testing models without rerunning the whole
program.
Top Choice: Anaconda Distribution (includes Jupyter, Python, and all
major data libraries like Pandas and NumPy).
PREPARATION FOR PROGRAMMING
Choosing your data science toolkit
6
Cloud-Based Platforms (Zero Setup)
Google Colab: A free, browser-based version of Jupyter.
Advantage: No installation required; provides free access to
powerful hardware (GPUs) for heavy data processing.
Collaboration: Works like Google Docs—easy to share your analysis
with others.
PREPARATION FOR PROGRAMMING
Choosing your data science toolkit
7
Specialized IDEs
VS Code (with Python Extension): Excellent for managing larger data
projects and integrating with version control (GitHub).
PyCharm: A "Pro" choice for building data-driven applications.
Spyder: Included with Anaconda; looks and feels like R-Studio, which
is familiar to many statisticians.
PREPARATION FOR PROGRAMMING
Choosing your data science toolkit
8
PREPARATION FOR PROGRAMMING
Choosing your data science toolkit
9
Understanding Anaconda Navigator
It is a Graphical User Interface (GUI) that lets you manage your
Python tools without using complex text commands.
It is a Distribution Manager: It bundles together Python, thousands
of data science libraries, and several different editors.
PREPARATION FOR PROGRAMMING
Choosing your data science toolkit
10
PYTHON AS INTERACTIVE INTERPRETER
The Python Interpreter: "Live Chat" Mode
11
The Interactive Shell: A way to talk to Python instantly without writing a full script or
saving a file.
How it works (REPL):
[Link] Read (type a line).
[Link] Evaluates (does the math/logic).
[Link] Prints (shows the result).
[Link] (it waits for your next command).
Why Use It?
Quick Math: Use it as a powerful calculator.
Instant Testing: Want to know what print(5 + 10) does? Just type it and see.
No Mistakes Saved: If you make a typo, it doesn't break a whole program; you
just try again on the next line.
BASIC TYPES
Python Programming Language
12
Basic types: Represent a single value
DATA TYPE EXAMPLE
String (str) text - “hello”
Boolean (bool) Logical True or False
Float (float) decimal number - 99.5
integer (int) whole number - 8
13
THANK YOU!
THANK YOU!