Introduction to Python

Unlock the power of Python with our comprehensive Introduction to Python course, designed for aspiring developers and IT professionals to automate tasks and boost productivity with hands-on programming experience.

Course Thumbnail

Essential Skills Gained

Checkmark

Understand Python syntax and semantics

Checkmark

Implement file operations and regular expressions

Checkmark

Utilize Python modules for enhanced functionality

Checkmark

Practice hands-on exercises to solidify programming skills

Format

  • Instructor-led
  • 4 days with lectures and hands-on labs.

Audience

  • Aspiring Python developers
  • System administrators
  • Application developers
  • IT professionals

Description

This four-day course leads the student from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data, and using the extensive functionality of Python modules. Extra emphasis is placed on features unique to Python, such as tuples, array slices, and output formatting. This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises. Python Programming is a practical introduction to a working programming language, not an academic overview of syntax and grammar. Students will immediately be able to use Python to complete tasks in the real world.

Calendar icon

Upcoming Course Dates

No upcoming dates. Please check back later.

Course Outline

Download PDF

About this Course

  1. Welcome

  2. Classroom etiquette

  3. Course outline

  4. Student files

  5. Extracting the student files

  6. Examples

  7. Lab exercises

  8. Appendices

An Overview of Python

  1. What is Python?

  2. The Birth of Python

  3. Python Timeline

  4. About Interpreted Languages

  5. Advantages of Python

  6. Disadvantages of Python

  7. How to Get Python

  8. The end of 2.x

  9. Getting Help

  10. Pydoc

  11. Using Pydoc

  12. Introduction to

  13. Python 3

The Python Environment

  1. Starting Python

  2. If the Interpreter is Not in Your PATHs

  3. Using the Interpreter

  4. Trying Out a Few Commands

  5. The help() Command

  6. Running a Python Script

  7. Python Scripts on Unix

  8. Python Scripts on Windows

  9. Python Editors and IDEs

Getting Started

  1. Using Variables

  2. Keywords

  3. Built-in Functions

  4. Variable Typing

  5. Strings

  6. Single-delimited String Literals

  7. Triple-delimited String Literals

  8. Raw String Literals

  9. Unicode Characters

  10. String Operators and Methods

  11. Numeric Literals

  12. Math Operators and Expressions

  13. Converting Among Types

  14. Writing to the Screen

  15. String Formatting

  16. Command Line Parameters

  17. Reading From the Keyboard

Flow Control

  1. About Flow Control

  2. What's with the White Space

  3. If and Elif

  4. Conditional Expressions

  5. Relational Operators

  6. Boolean Operators

  7. While Loops

  8. Alternate Ways to Exit a Loop

Sequences

  1. About Sequences

  2. Lists

  3. Tuples

  4. Indexing and Slicing

  5. Iterating Through a Sequence

  6. Using Enumerate()

  7. Functions for All Sequences

  8. Keywords and Operators for All Sequences

  9. The Range() Function

  10. Nested Sequences

  11. List Comprehensions

  12. Generator Expressions

Working with files

  1. Text File I/O

  2. Opening a Text File

  3. The With Block

  4. Reading a Text File

  5. Writing to a Text File

  6. Non-Delimited (Raw) Data

Dictionaries and Sets

  1. About Dictionaries

  2. When to Use Dictionaries

  3. Creating Dictionaries

  4. Getting Dictionary Values

  5. Iterating Through a Dictionary

  6. Reading File Data into a Dictionary

  7. Counting with a Dictionary

  8. About Sets

  9. Creating Sets

  10. Working with Sets

Functions

  1. Defining a Function

  2. Function Parameters

  3. Returning Values

  4. Variable Scope

Sorting

  1. Sorting

  2. The Sorted() Function

  3. Alternate Keys

  4. Lambda Functions

  5. Sorting Nested Data

  6. Sorting Dictionaries

  7. Sorting in Reverse

  8. Sorting Lists in Place

Using Modules

  1. Regular Expressions

  2. RE Syntax Overview

  3. RE Objects

  4. Searching for Patterns

  5. Matching Without Re Objects

  6. Compilation Flags

  7. Grouping

  8. Special Groups

  9. Replacing Text

  10. Splitting a String

Using the Standard Library

  1. The Sys Module

  2. Interpreter Information

  3. STDIO

  4. Launching External Programs

  5. Paths, Directories, and Filenames

  6. Walking Directory Trees

  7. Grabbing Web Pages

  8. Sending E-Mail

  9. Math Functions

  10. Random Values

  11. Dates And Times

  12. Zipped Archives

An Introduction to Python Classes

  1. About O-O Programming

  2. Defining Classes

  3. Initializers

  4. Instance Methods

  5. Properties

  6. Class Methods and Data

  7. Static Methods

  8. Private Methods

  9. Inheritance

  10. Untangling the Nomenclature

Bonus Exercises

  1. Appendix A: Bibliography

  2. Appendix B: Python Gotchas

  3. Appendix C: String Formatting

Your Team has Unique Training Needs.

Your team deserves training as unique as they are.

Let us tailor the course to your needs at no extra cost.