Advanced Python

Unlock the full potential of Python by mastering advanced programming techniques tailored for experienced developers looking to excel in data manipulation, object-oriented programming, and database integration.

Course Thumbnail

Essential Skills Gained

Checkmark

Enhance data manipulation skills using advanced list comprehensions and regular expressions.

Checkmark

Implement and debug object-oriented code with custom classes and inheritance.

Checkmark

Integrate Python with databases, handling JSON and XML data effectively.

Checkmark

Optimize Python scripts through testing, debugging, and understanding Unicode encoding.

Format

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

Audience

  • Software Developers
  • Data Scientists
  • IT Professionals
  • Technical Leads

Description

In this Python training course, students already familiar with Python programming will learn advanced Python techniques such as: IPython Notebook; the Collections module; mapping and filtering; lamba functions; advanced sorting; working with regular expressions; working with databases, CSV files, JSON and XML; writing object-oriented code; testing and debugging; and learning about Unicode and text encoding. This advanced Python course is taught using Python 3, however, differences between Python 2 and Python 3 are noted.

Calendar icon

Upcoming Course Dates

No upcoming dates. Please check back later.

Course Outline

Download PDF

IPython Notebook

  1. Getting Started with IPython Notebook

  2. Getting the Class Files

  3. Markdown

  4. Magic Commands

  5. Automagic

  6. Autosave

  7. Directory Commands

  8. Bookmarking

  9. Command History

  10. Last Three Inputs and Outputs

  11. Environment Variables

  12. Loading and Running Code from Files

  13. Shell Execution

  14. More Magic Commands

  15. Getting Help

Advanced Python Concepts

  1. Advanced List Comprehensions

  2. Quick Review of Basic List Comprehensions

  3. Multiple for Loops

  4. Collections Module

  5. Named Tuples

  6. Default Dictionaries (defaultdict)

  7. Counters

  8. Mapping and Filtering

  9. Map (function, iterable)

  10. Filter (function, iterable)

  11. Lambda Functions

  12. Using Lambda Functions with map() and filter()

  13. Mutable and Immutable Built-in Objects

  14. Strings are Immutable

  15. Lists are Mutable

  16. Sorting

  17. Sorting Lists in Place

  18. The sorted() Function

  19. Sorting Sequences of Sequences

  20. Sorting Sequences of Dictionaries

  21. Unpacking Sequences in Function Calls

  22. Modules and Packages

  23. Modules

  24. Packages

  25. Search Path for Modules and Packages

Regular Expressions

  1. Regular Expression Syntax

  2. Try it

  3. Backreferences

  4. Python's Handling of Regular Expressions

Working with Data

  1. Relational Databases

  2. PEP 0249 -- Python Database API Specification v2.0

  3. PyMySQL

  4. Returning Dictionaries instead of Tuples

  5. sqlite3

  6. Passing Parameters

  7. SQLite Database in Memory

  8. Executing Multiple Queries at Once

  9. CSV

  10. Reading from a CSV File

  11. Finding Data in a CSV File

  12. Creating a New CSV File

  13. CSV Dialects

  14. Getting Data from the Web

  15. The Requests Package

  16. Beautiful Soup

  17. XML

  18. JSON

Classes and Objects

  1. Attributes

  2. Behaviors

  3. Classes vs. Objects

  4. Everything Is an Object

  5. Creating Custom Classes

  6. Attributes and Methods

  7. Private Attributes

  8. Properties

  9. Objects that Track their Own History

  10. Documenting Classes

  11. Using docstrings

  12. Inheritance

  13. Overriding a Class Method

  14. Extending a Class

  15. Extending a Class Method

  16. Static Methods

  17. Class Attributes and Methods

  18. Class Attributes

  19. Class Methods

  20. You Must Consider Subclasses

  21. Abstract Classes and Methods

  22. Understanding Decorators

Testing and Debugging

  1. Testing for Performance

  2. time.perf_counter

  3. The timeit Module

  4. The unittest Module

  5. Unittest Test Files

  6. Special unittest.TestCase Methods

  7. Assert Methods

Unicode and Encoding

  1. Bits and Bytes

  2. Hexadecimal Numbers

  3. hex(), bin(), ord(), chr(), and int()

  4. Encoding

  5. Encoding Text

  6. Encoding and Decoding Files in Python

  7. Converting a File from cp1252 to UTF-8

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.