Skip to content
Search upcoming classes
Course Name
Location
Date
Price
Register

Mastering Python Programming

Gain In-Depth Core Python Skills | Best Practices, Regular Expressions, Classes, OO, Binary Data, Network Services & More

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
Pricing

Starting at: $2495

GSA Price: $1870

Group Rate: $2395

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

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.

  • Create working Python scripts following best practices
  • Use python data types appropriately
  • Read and write files with both text and binary data
  • Search and replace text with regular expressions
  • Get familiar with the standard library and its work-saving modules
  • Use lesser known but powerful Python data types
  • Create "real-world", professional Python applications
  • Work with dates, times, and calendars
  • Know when to use collections such as lists, dictionaries, and sets
  • Understand Pythonic features such as comprehensions and iterators

Mastering Python Programming Schedule

Location
Date
Price
Register
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnjQAD', 'startDate' => '2021-02-22', 'startTime' => '10:00 AM', 'endDate' => '2021-02-26', 'endTime' => '6:00 PM', 'name' => 'TTPS482003VCL03', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Feb 22nd - 26th 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnkQAD', 'startDate' => '2021-03-29', 'startTime' => '10:00 AM', 'endDate' => '2021-04-02', 'endTime' => '6:00 PM', 'name' => 'TTPS482003VCL04', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Mar 29th - Apr 2nd 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnlQAD', 'startDate' => '2021-04-12', 'startTime' => '10:00 AM', 'endDate' => '2021-04-16', 'endTime' => '6:00 PM', 'name' => 'TTPS482004VCL', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Apr 12th - 16th 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnmQAD', 'startDate' => '2021-05-03', 'startTime' => '10:00 AM', 'endDate' => '2021-05-07', 'endTime' => '6:00 PM', 'name' => 'TTPS482004VCL02', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
May 3rd - 7th 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnnQAD', 'startDate' => '2021-06-07', 'startTime' => '10:00 AM', 'endDate' => '2021-06-11', 'endTime' => '6:00 PM', 'name' => 'TTPS482004VCL03', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Jun 7th - 11th 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnoQAD', 'startDate' => '2021-07-19', 'startTime' => '10:00 AM', 'endDate' => '2021-07-23', 'endTime' => '6:00 PM', 'name' => 'TTPS482005VCL', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Jul 19th - 23rd 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnpQAD', 'startDate' => '2021-08-23', 'startTime' => '10:00 AM', 'endDate' => '2021-08-27', 'endTime' => '6:00 PM', 'name' => 'TTPS482005VCL02', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Aug 23rd - 27th 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnqQAD', 'startDate' => '2021-09-20', 'startTime' => '10:00 AM', 'endDate' => '2021-09-24', 'endTime' => '6:00 PM', 'name' => 'TTPS482005VCL03', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Sep 20th - 24th 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnrQAD', 'startDate' => '2021-10-18', 'startTime' => '10:00 AM', 'endDate' => '2021-10-22', 'endTime' => '6:00 PM', 'name' => 'TTPS482006VCL', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Oct 18th - 22nd 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqnsQAD', 'startDate' => '2021-11-15', 'startTime' => '10:00 AM', 'endDate' => '2021-11-19', 'endTime' => '6:00 PM', 'name' => 'TTPS482006VCL02', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Nov 15th - 19th 10:00 AM - 6:00 PM ET
$2495
CPSFDC\Entity\Session::__set_state(array( 'sfId' => 'a011G00000VOqntQAD', 'startDate' => '2021-12-13', 'startTime' => '10:00 AM', 'endDate' => '2021-12-17', 'endTime' => '6:00 PM', 'name' => 'TTPS482006VCL03', 'standardCourseFee' => 2495.0, 'courseId' => 'TTPS4820', 'course' => 'a00370000029um0AAA', 'courseSfId' => 'a00370000029um0AAA', 'courseName' => 'Mastering Python Programming', 'instructorId' => '151136', 'instructorSfId' => 'a023700000Z1UwcAAF', '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', ), 'fullFacilityAddress' => 'Live Instructor-Led Online Training
Please call Cprime for location details
at 1-877-800-5221
,', ))
Live, Online Training
Dec 13th - 17th 10:00 AM - 6:00 PM ET
$2495

Learn more about corporate team training