Python Intro
Python Intro
SBL-Khas 5725
PenjanaKerjaya HIT2122 EIS TP000115C00011
Python is a remarkably powerful dynamic programming language that is used in a wide variety of
application domains. Python is often used in web development, database access, desktop software
development, scientific and numerical analysis, software development, education and even game and 3D
graphics. Due to its versatility, it is used in a wide variety of industries by well-known names such as
Google, NASA, Industrial Light & Magic, Honeywell, Rackspace, Philips, etc.
Python has a very clear and intuitive object orientation syntax that lets you write the code you need
quickly. It has very extensive standard libraries and third party modules for virtually any task in any
problem domain. Should the need for integration arises, Python plays well with other language platforms
such as COM, .NET and Java. Python’s open source license makes it freely usable and distributable and
friendly for commercial use.
Course highlight
This course teaches you the fundamentals of programming in Python. It uses a series of lectures,
demonstrations, and hands on exercises to teach participants how to design, develop, and debug Python
applications. Participants attending this Python training course will learn the fundamentals of Python,
including data types, list comprehension, flow control/looping, packages, modules, and much more.
Introduction to Python
Working with Variables in Python
Numeric Operations in Python
Python String Types
Python's Lists & Tuples
Python Dictionaries
Python Compound Statements
Basic Input/Output with Files
Understanding Iterators
Python List Comprehension
Creating Python Functions
Modules & Packages
OS Interfacing
The course is presented in Socratic style lectures and interactive sessions that work through problem
examples that are commonly encountered in real-world situations.
Course Duration
About Python
The Python Interpreter
Whitespace Significance
Line Termination
Comments in Python
Basic Output Generation
Simple User Input
Python Modules
Module Search Paths
Determining the System Search Path
11:00am - 12:30pm
Working with Variables in Python
Python Variables
Naming Conventions & Rules
Variable References & Garbage Collection
List Iteration
List Enumeration
Sequence Assignments
Mutable vs Immutable Objects
Multi Target Assignments
1:30pm - 3:15pm
Numeric Operations in Python
3:30pm - 5:00pm
Python String Types
Day 2
9am - 10:45am
Python's Lists & Tuples
Python Lists
Common List Methods
Other List Operations
The range() Function
Tuples
11:00am - 12:30pm
Python Dictionaries
Python Dictionaries
Assigning Values to Dictionaries
Dictionary Methods
Dictionaries vs Lists & Tuples
1:30pm - 3:00pm
Python Compound Statements
Comparison Operations
The if Statement
The if Ternary Expression
Using try To Handle Errors
The while Loop
The for Loop
3:15pm - 5:00pm
Basic Input/Output with Files
Opening Files
Working with Files
Working with compressed files and URLs.
Understanding Iterators
Iterable Objects
The iter() Function
Using map With Iterators
Day 3
9am - 10:45am
Python List Comprehension
Function Basics
Defining Functions
Argument Defaults
Variable length arguements
Local Variables
Lambdas
map, filter, reduce
11:00am - 12:30pm
Class
Creating class
isinstance()
constructor and destructor
overloading methods
1:30pm - 3:00pm
Modules & Packages
Module Basics
Packages
3:15pm - 5:00pm
OS Interfacing