Skip to main content

Course

Intermediate Python for Developers

Basic2 hr

Dive into the Python ecosystem, discovering modules and packages along with how to write custom functions!

Python2 hr11 videos38 Exercises3,000 XP63,255Statement of accomplishment

Create Your Free Account

Continue with Google
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Training a Team?

Try for Business

Course Description

Elevate your Python skills to the next level

This course will delve deeper into Python's rich ecosystem, focusing on essential aspects such as built-in functions, modules, and packages. You'll be introduced to the power of Python's modules, empowering you to develop more quickly by reusing existing code rather than writing your own from scratch every time! You'll see how people have extended modules to create their own open-source software, known as packages, discovering how to download, import, and work with packages in your programs.

Master custom functions

You'll learn best practices for defining functions, including comprehensive knowledge of how to write user-friendly docstrings to ensure clarity and maintainability. You'll dive into advanced concepts, such as default, positional, and keyword arguments, which enhance the flexibility and usability of your functions. By understanding how to work with these arguments, you'll be able to create more robust and adaptable solutions to various programming challenges.

Debug your code and use error handling techniques

You'll learn to interpret error messages, including tracebacks from incorrectly using functions from packages. You'll use keywords and techniques to adapt your custom functions, effectively handling errors and providing bespoke feedback messages to developers who misuse your code! By the end of this course, you'll have the skills needed to write clean, reusable code and confidently tackle development projects.

Feels like what you want to learn?

Start Course for Free

What you'll learn

  • Assess when a lambda expression is more efficient than a standard function definition for a given programming task
  • Define custom Python functions that incorporate default, positional, and keyword arguments to reduce code repetition
  • Distinguish between positional, keyword, arbitrary positional (*args), and arbitrary keyword (**kwargs) arguments within function calls
  • Evaluate error-handling approaches by selecting correct try/except or raise constructs to manage specified exceptions.
  • Identify appropriate Python built-in functions, modules, and external packages that meet specified coding requirements

Prerequisites

Curriculum

Course outline

Intermediate Python for Developers

Course
Complete

Earn Statement of Accomplishment

Enroll Now

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.