
Loved by learners at thousands of companies
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.Training 2 or more people?
Get your team access to the full DataCamp platform, including all the features.- 1The Python EcosystemFreeDiscover Python's rich ecosystem of built-in functions and modules, plus how to download and work with packages. 
- 2Working with functionsLearn the fundamentals of functions, from Python's built-in functions to creating your own from scratch! Defining a custom function50 xpCustom function syntax100 xpReport-generating function100 xpBuilding a password validator100 xpDefault and keyword arguments50 xpPositional versus keyword arguments50 xpAdding a keyword argument100 xpCalculating a discount100 xpDocstrings50 xpSingle-line docstrings100 xpMulti-line docstrings100 xpArbitrary arguments50 xpAdding arbitrary arguments100 xpArbitrary keyword arguments100 xp
- 3Lambda functions and error-handlingBuild lambda functions on the fly, and discover how to error-proof your code! 
Training 2 or more people?
Get your team access to the full DataCamp platform, including all the features.In other tracks
Python Programming Fundamentalscollaborators

prerequisites
Introduction to Python for Developers George Boorman
George BoormanSenior Curriculum Manager, DataCamp
George is a Curriculum Manager at DataCamp. He holds a PGDip in Exercise for Health and BSc (Hons) in Sports Science and has experience in project management across public health, applied research, and not-for-profit sectors. George is passionate about sports, tech for good, and all things data science. 
Join over 17 million learners and start Intermediate Python for Developers today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.