Introduction to PythonPC347
Technical Training Provider in Singapore and Malaysia (Fully HRDF Claimable)
Synopsis
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.
What You Will Learn
This course would cover the following main topics:
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
Who Should Attend
This course is particularly suited for software developers, testers and engineers who would like to
increase their productivity in getting things done. The course will also be of interest to technical or
project managers who consider using Python’s advantages as strategic instrument to better fulfill
business requirements.
Prerequisite
Some background in programming other programming languages would be desirable but not required.
Course Methodology
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
3 day(s), 9am - 5pm, or 6 half-days (3.5 hours/day)
Course Structure
Day 1
9am - 10:45am
Introduction to Python
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
10:45am - 11:00am: Break
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
12:30pm - 1:30pm: Lunch break
1:30pm - 3:15pm
Numeric Operations in Python
More About Python's Numeric Types
Operator Precedence
3:15pm - 3:30pm: Break
3:30pm - 5:00pm
Python String Types
Generating Strings in Python
Common String Methods
Type Conversion in Python
Formatting String Output
Variable Substitution
String Slicing
Day 2
9am - 10:45am
Python's Lists & Tuples
Python Lists
Common List Methods
Other List Operations
The range() Function
Tuples
10:45am - 11:00am: Break
11:00am - 12:30pm
Python Dictionaries
Python Dictionaries
Assigning Values to Dictionaries
Dictionary Methods
Dictionaries vs Lists & Tuples
12:30pm - 1:30pm: Lunch break
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:00pm - 3:15pm: Break
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
Basic List Comprehensions
Compound List Comprehensions
Creating Python Functions
Function Basics
Defining Functions
Argument Defaults
Variable length arguements
Local Variables
Lambdas
map, filter, reduce
10:45am - 11:00am: Break
11:00am - 12:30pm
Class
Creating class
isinstance()
constructor and destructor
overloading methods
12:30pm - 1:30pm: Lunch break
1:30pm - 3:00pm
Modules & Packages
Module Basics
Packages
3:00pm - 3:15pm: Break
3:15pm - 5:00pm
OS Interfacing
About the sys & os Modules
Gleaning More Using __doc__ & help()
Common sys Module Attributes & Methods
Working With the os Module
Working with os.path
Running Shell Commands