Introduction to Python Programming Course
Course Details:
Length: 4 days
Price: $2700/person (USD)
Group Price: Request Quote
Course Features:
Live Instructor Teaching
Certificate of Completion
Courseware: Print
Hands-On Learning?: Yes
Software Lab Included?: Yes
Delivery Methods:
Individuals and Groups
@ Your Location or Our Labs
Group Teams
@ Your Organization
This is an instructor-led course. It is taught by an instructor
live online or at organizations for groups.
For
team training, we can teach onsite at your office or private live online.
How Online Classes Work? - Learn How Our Live Online Classes Work
Course Overview
In this Python training course, students learn to program in Python. The course is aimed at students new to the language who may or may not have experience with other programming languages. Topics covered:
- How Python works.
- Python's place in the world of Programming languages.
- Python literals.
- Python comments.
- Variables and Python data types.
- Simple modules.
- Outputting data with print ().
- Collecting user input.
Register Early: Registration Deadline is 2 Weeks Prior to Class Start.
Course Notes
Versions That Can Attend: Python 2, Python 3, and Python 3.8 (differences between the versions are noted)
Course Taught With: Python 3.8 Software and Courseware
Suggested Follow-Ons
Advanced Python Programming
Course Topics
Lesson 1: Python Basics - 1
Getting Familiar with the Terminal
Running Python
Running a Python File
• Exercise 1: Hello, world!
Literals
Python Comments
Data Types
• Exercise 2: Exploring Types
Variables
• Exercise 3: A simple Python Script
Constants
Deleting Variables
Writing a Python Module
print() Function
• Exercise 4: Hello, You!
Collecting User Input
Reading from and Writing to Files
• Exercise 5: Working with Files
Lesson 2: Functions and Modules - 31
Defining Functions
Variable Scope
Global Variables
Function Parameters
• Exercise 6: A Function with Parameters
Returning Values
• Exercise 7: Parameters with Default Values
Importing Modules
Methods vs. Functions
Lesson 3: Math - 49
Arithmetic Operators
• Exercise 8: Floor and Modulus
Assignment Operators
Precedence of Operations
Built-in Math Functions
The math Module
The random Module
• Exercise 9: How Many Pizzas Do We Need?
• Exercise 10: Dice Rolling
Lesson 4: Python Strings - 69
Quotation Marks and Special Characters
String Indexing
• Exercise 11: Indexing Strings
Slicing Strings
• Exercise 12: Slicing Strings
Combining Concatenation and Repetition
• Exercise 13: Repetition
Python Strings are Immutable
Common String Methods
String Formatting
• Exercise 14: Playing with Formatting
Formatted String Literals (f-strings)
Built-in String Functions
• Exercise 15: Outputting Tab-delimited Text
Lesson 5: Iterables: Sequences, Dictionaries, and Sets - 111
Definitions
Sequences
Lists
Sequences and Random
• Exercise 16: Remove and Return Random Element
Tuples
Ranges
Converting Sequences to Lists
Indexing
• Exercise 17: Simple Rock, Paper, Scissors Game
Slicing
• Exercise 18: Slicing Sequences
min(), max(), and sum()
Covering Sequences to Strings with Str.join(seq)
Splitting Strings into Lists
Unpacking Sequences
Dictionaries
The len() Function
• Exercise 19: Creating a Dictionary from User Input
Sets
*args and **kwargs
Lesson 6: Virtual Environments, Packages, and pip - 149
• Exercise 20: Creating, Activating, Deactivating, and Deleting a Virtual Environment
Packages with pip
• Exercise 21: Working with a virtual Environment
Lesson 7: Flow Control - 159
Conditional Statements
Compound Conditions
The is and is not Operators
all() and any0
Ternary Operator
In Between
Loops in Python
• Exercise 22: All True and Any True
break and continue
Looping through Lines in a File
• Exercise 23: Word Guessing Game
• Exercise 24: for. else
The enumerate() Function
Generators
List Comprehensions
Lesson 8: Exception Handling - 215
Exception Basics
Wildcard except Clauses
Getting Information on Exceptions
• Exercise 25: Raising Exceptions
The else Clause
The finally Clause
Using Exceptions for Flow Control
• Exercise 26: Running Sum
Raising Your Own Exceptions
Lesson 9: Python Dates and Times - 231
Understanding Time
The time Module
Time Structures
Times as Strings
Time and Formatted Strings
Pausing Execution with time.sleep()
The datetime Module
datetime.datetime Objects
• Exercise 27: What Color Pants Should I Wear?
dateumetimedelta Objects
• Exercise 28: Report on Departure Times
Lesson 10: File Processing - 261
Opening Files
• Exercise 29: Finding Text in a File
Writing to Files
• Exercise 30: Writing to Files
• Exercise 31: List Creator
The os Module
Walking a Directory
The os.path Module
A Better Way to Open Files
• Exercise 32: Comparing Lists
Lesson 11: PEP8 and Pylint - 295
PEP8
Pylint