Skip to main content
HomePython

course

Writing Functions in Python

Intermediate
4.3+
63 reviews
Updated 12/2024
Learn to use best practices to write maintainable, reusable, complex functions with good documentation.
Start course for free

Included for FreePremium or Teams

PythonSoftware Development4 hours15 videos46 exercises3,650 XP91,927Statement of Accomplishment

Create Your Free Account

GoogleLinkedInFacebook

or

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

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

You've done your analysis, built your report, and trained a model. What's next? Well, if you want to deploy your model into production, your code will need to be more reliable than exploratory scripts in a Jupyter notebook. Writing Functions in Python will give you a strong foundation in writing complex and beautiful functions so that you can contribute research and engineering skills to your team. You'll learn useful tricks, like how to write context managers and decorators. You'll also learn best practices around how to write maintainable reusable functions with good documentation. They say that people who can do good research and write high-quality code are unicorns. Take this course and discover the magic!

Prerequisites

Python Toolbox
1

Best Practices

Start Chapter
2

Context Managers

Start Chapter
3

Decorators

Start Chapter
4

More on Decorators

Start Chapter
Writing Functions in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.3
from 63 reviews
70%
8%
17%
2%
3%
  • Enrique N.
    10 days

    A great introduction to closures and decorators.

  • Yuanpei G.
    about 2 months

    The content around context manager and decorators are confusing to me. I passed the practice without really knowing exactly what the code does..

  • Ileana R.
    3 months

    Amazing course!

  • Thuy N.
    5 months

    Difficult, but very helpful.

  • Sait O.
    7 months

    Provides In depth understanding of some key concepts.

"A great introduction to closures and decorators."

Enrique N.

"The content around context manager and decorators are confusing to me. I passed the practice without really knowing exactly what the code does.."

Yuanpei G.

"Amazing course!"

Ileana R.

Join over 15 million learners and start Writing Functions in Python today!

Create Your Free Account

GoogleLinkedInFacebook

or

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