Live Chat
Monday - Friday 8am - 6pm EST Chat Now
Contact Us
Monday - Friday 8am - 8pm EST 1-866-716-6688 Other Contact Options
Checkout

Cart () Loading...

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

    $

Top 10 Python Concepts

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

GK# 5749

Course Overview

TOP

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.

Schedule

TOP
  • Delivery Format:
  • Date:
  • Location:
  • Access Period:

$

What You'll Learn

TOP
  • 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

Outline

TOP
Viewing outline for:

GK Digital Learning 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

TOP
Viewing labs for:

GK Digital Learning Labs

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

Prerequisites

TOP

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

Who Should Attend

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

 

Course Delivery

This course is available in the following formats:

GK Digital Learning

Experience high-quality online learning combined with reliable expert guidance and skills development activities.



Request this course in a different delivery format.
Enroll