Course Overview

Geared for experienced users, 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.

Throughout the course students will be led through a series of progressively advanced topics, where each topic consists of lecture, group discussion, comprehensive hands-on lab exercises, and lab review. This course is “skills-centric”, designed to train attendees in core Python and web development skills beyond an intermediate level, coupling the most current, effective techniques with best practices.

Key Learning Areas

  • 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
  • Write robust code using exception handling

Course Outline

  • An Overview of Python
  • The Python Environment
  • Getting Started
  • Flow Control
  • Sequences
  • Working with Files
  • Dictionaries and Sets
  • Functions
  • Sorting
  • Errors and Exception Handling
  • Modules and Packages
  • Dates and Times
  • Working with the File System
  • Network Services
  • Writing Real-Life Applications

Who Benefits

Experienced Programmers and Systems Administrators.

This course is appropriate for advanced users, system administrators and website administrators who want to use Python to support their server installations, as well as anyone else who wants to automate or simplify common tasks with the use of Python scripts.

Prerequisites

Students should have basic development experience in any programming language, along with a working, user-level knowledge of Unix/Linux, Mac, or Windows.