Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-800-268-7737 Other Contact Options

Cart () Loading...

    • Quantity:
    • Delivery:
    • Dates:
    • Location:


Top 10 Python Concepts

Learn key Python concepts that will make your code more expressive and effective.

Entry and mid-level developers are sometimes surprised by the behavior of code. Even more frequently, code is inefficient or doesn't respect the DRY (don't repeat yourself) principle. Topics in this course aim to help the developer understand what's going on “under the hood” and thereby write efficient, reusable code.

Writing efficient code helps to reduce resources consumed while your software is executing and enhances your user’s experience. By making code reusable, your development team can also develop faster.

GK# 5749
Vendor Credits:
  • Global Knowledge Delivered Course
  • Training Exclusives
  • GSA Eligible
No matching courses available.
Start learning as soon as today! Click Add To Cart to continue shopping or Buy Now to check out immediately.
Scheduling a custom training event for your team is fast and easy! Click here to get started.
Your Selections:
No available dates

Who Should Attend?

  • Mid­level to advanced software developers who have a firm grasp of language fundamentals but want to enhance their understanding of core technology concepts


What You'll Learn

  • Take advantage of Python syntax to write simpler, more robust code
  • Modify the behavior of a functions and classes without touching existing code
  • Create custom iterators and generators and fully understand the concept of iteration
  • Understand Python’s class system and how to deal with multiple inheritance
  • Leverage the full range of dictionary functionality
  • Catch runtime errors effectively with exception handling
  • Develop an appreciation for idiomatic, “Pythonic” code

Course Outline

  1. Pack and Unpack Parameters and Arguments
  2. Leverage the Full Power of Dictionaries
  3. Create Decorators to Add Functionality to Existing Functions
  4. Write Modular Classes and Mixins with Multiple Inheritance
  5. Create Properties to Implement Getters, Setters, and Deleters
  6. Iterate over Iterators and Iterables
  7. Create Generators to Implement Iterators
  8. Use String Interpolation to Simplify Text Manipulation
  9. Deal with runtime errors gracefully with exception handling
  10. Write Pythonic code

Labs Outline

Lab 1: Implement and call a complex function

Lab 2: Write a custom dictionary class

Lab 3:Create a decorator that encrypts and decrypts a function's arguments and return value

Lab 4: Create mixins to add functionality to a base class

Lab 5:Write a class that tracks temperature in Fahrenheit, Celsius, and Kelvin

Lab 6: Write an iterator that creates a sequence of numbers

Lab 7:Write a random sentence generator 

Lab 8:Given a list of records (dicts or objects), print a nicely formatted report

Lab 9: Rewrite this code to use except6ion handling instead of conditionals to catch errors

Lab 10: Rewrite the non-idomatic parts of this code to be more Pythonic



Students should already be comfortable with Python language fundamentals, including:

  • Writing and using classes, methods, and functions
  • Using container objects (e.g., list or dictionary)
  • Using decorators
  • Using string formatting
  • Using conditional operators