Skip to content
Search upcoming classes
Course Name
Location
Date
Price
Register
Get $250 OFF select training courses for a limited time with code CPL250.*
*Offer available until 12/31/2020. Some exclusions apply. Not valid for eLearnings, SAFe®, or Scrum Certification courses.

Mastering Python Programming

Mastering Python Programming is an introductory and beyond-level practical, hands-on Python training course that 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 comprehensive, practical course provides an in-depth exploration of working with the 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.

Skills-Focused, Hands On Learning: This course is about 50% hands-on lab to 50% lecture ratio, combining engaging, informed instructor presentations, demonstrations and discussions with extensive machine-based student labs and practical project work. Throughout the course students will learn to write essential Python scripts using the most current and efficient skills and techniques. 

Available formats for this course
In-Person
Live Online
Corporate
Corporate Online
Duration
5 days/40 hours of instruction

Starting at: $2495

Get the full details on this course Download the .PDF Brochure

Part 1: An overview of Python

  1. What is python?
  2. Python Timeline
  3. Advantages/Disadvantages of Python
  4. Getting help with pydoc

Part 2: The Python Environment

  1. Starting Python
  2. Using the interpreter
  3. Running a Python script
  4. Python scripts on Unix/Windows
  5. Editors and IDEs

Part 3: Getting Started

  1. Using variables
  2. Builtin functions
  3. Strings
  4. Numbers
  5. Converting among types
  6. Writing to the screen
  7. Command line parameters

Part 4: Flow Control

  1. About flow control
  2. White space
  3. Conditional expressions
  4. Relational and Boolean operators
  5. While loops
  6. Alternate loop exits

Part 5: Array types

  1. About array types (AKA sequences)
  2. Lists and list methods
  3. Tuples
  4. Indexing and slicing
  5. Iterating through a sequence
  6. Nested sequences
  7. Sequence functions, keywords, and operators
  8. List comprehensions
  9. Generator Expressions

Part 6: Working with files

  1. File overview
  2. Opening a text file
  3. Reading a text file
  4. Writing to a text file
  5. Reading and writing raw (binary) data
  6. Converting binary data with struct

Part 7: Dictionaries and Sets

  1. About dictionaries
  2. Creating dictionaries
  3. Iterating through a dictionary
  4. About sets
  5. Creating sets
  6. Working with sets

Part 8: Functions

  1. Defining functions
  2. Parameters 
  3. Global and local scope
  4. Nested functions
  5. Returning values

Part 9: Sorting

  1. The sorted() function
  2. Alternate keys
  3. Lambda functions
  4. Sorting collections
  5. Using operator.itemgetter()
  6. Reverse sorting

Part 10: Errors and Exception Handling

  1. Syntax errors
  2. Exceptions
  3. Using try/catch/else/finally
  4. Handling multiple exceptions
  5. Ignoring exceptions

Part 11:  Modules and Packages

  1. The import statement
  2. Module search path
  3. Creating Modules
  4. Using packages
  5. Function and Module aliases

Part 12: Classes

  1. About o-o programming
  2. Defining classes
  3. Constructors
  4. Methods
  5. Instance data
  6. Properties
  7. Class methods and data

Part 13: Regular Expressions

  1. RE syntax overview
  2. RE Objects
  3. Searching and matching
  4. Compilation flags
  5. Groups and special groups
  6. Replacing text
  7. Splitting strings

Part 14:  The standard library

  1. The sys module
  2. Launching external programs
  3. Math functions
  4. Random numbers
  5. Reading CSV data

Part 15:  Dates and times

  1. Working with dates and times
  2. Translating timestamps
  3. Parsing dates from text
  4. Formatting dates
  5. Calendar data

Part 16:  Working with the file system

  • Paths, directories, and filenames
  • Checking for existence
  • Permissions and other file attributes
  • Walking directory trees
  • Creating filters with fileinput
  • Using shutil for file operations

Part 17:  Advanced data handling

  1. Defaultdict and Counter
  2. Prettyprinting data structures
  3. Compressed archives (zip, gzip, tar, etc.)
  4. Persistent data

Part 18:  Network programming

  1. Using requests
  2. Grabbing web content
  3. Sending email
  4. Using SSH for remote access
  5. Using FTP

Part 19: Writing real-life applications

  1. Reading input files a la Unix
  2. Parsing command-line options
  3. Detecting the current platform
  4. Implementing logging

  • Experienced users who want to use Python in web development projects
  • System administrators and web site administrators who want to use Python to support their server installations
  • Anyone else who wants to automate or simplify common tasks with the use of Python scripts.

Mastering Python Programming Schedule

Location
Date
Price
Register
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VMBWBQA5', 'startDate' => '2020-11-02', 'startTime' => '10:00am', 'endDate' => '2020-11-06', 'endTime' => '6:00pm', 'name' => 'TTPS4832VCL5', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '124227', 'instructorSfId' => 'a0237000001Y4SaAAK', 'instructorDisplayName' => 'Trivera', 'instructorName' => 'Trivera', 'locationCode' => 'VCL', 'sessionStatus' => 'O', 'city' => 'Live Online Training', 'state' => NULL, 'cityState' => 'Live, Online Training', 'locationSfId' => 'a0637000000tn2hAAA', 'subjectSfId' => 'a051G00000Jso5fQAB', 'subjectName' => 'Software Development', 'specialitySfId' => 'a051G00000Jso5uQAB', 'specialityName' => 'Python', 'expertiseSfId' => 'a051G00000JsoBNQAZ', 'expertiseName' => NULL, 'certificationSfId' => NULL, 'certificationBody' => NULL, 'certificationName' => NULL, 'pdus' => '0', 'deliveryModalities' => array ( 0 => 'In-Person', 1 => 'Live Online', ), ))
Live, Online Training
Nov 2nd - 6th 10:00am - 6:00pm ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VMBWGQA5', 'startDate' => '2020-12-07', 'startTime' => '10:00am', 'endDate' => '2020-12-11', 'endTime' => '6:00pm', 'name' => 'TTPS4832VCL6', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '124227', 'instructorSfId' => 'a0237000001Y4SaAAK', 'instructorDisplayName' => 'Trivera', 'instructorName' => 'Trivera', 'locationCode' => 'VCL', 'sessionStatus' => 'O', 'city' => 'Live Online Training', 'state' => NULL, 'cityState' => 'Live, Online Training', 'locationSfId' => 'a0637000000tn2hAAA', 'subjectSfId' => 'a051G00000Jso5fQAB', 'subjectName' => 'Software Development', 'specialitySfId' => 'a051G00000Jso5uQAB', 'specialityName' => 'Python', 'expertiseSfId' => 'a051G00000JsoBNQAZ', 'expertiseName' => NULL, 'certificationSfId' => NULL, 'certificationBody' => NULL, 'certificationName' => NULL, 'pdus' => '0', 'deliveryModalities' => array ( 0 => 'In-Person', 1 => 'Live Online', ), ))
Live, Online Training
Dec 7th - 11th 10:00am - 6:00pm ET
$2495

Learn more about corporate team training