Track
Python Programming
Utwórz bezpłatne konto
Lub
Kontynuując, akceptujesz nasze Warunki korzystania, naszą Politykę prywatności oraz fakt, że Twoje dane są przechowywane w USA.Uwielbiany przez pracowników tysięcy firm
Szkolenie 2 lub więcej osób?
Wypróbuj DataCamp for BusinessOpis utworu
Python Programming
Wymagania wstępne
Python Programming FundamentalsChapter
premiaContext Managers
If you've ever seen the "with" keyword in Python and wondered what its deal was, then this is the chapter for you! Context managers are a convenient way to provide connections in Python and guarantee that those connections get cleaned up when you are done using them. This chapter will show you how to use context managers, as well as how to write your own.
Chapter
premiaDecorators
Decorators are an extremely powerful concept in Python. They allow you to modify the behavior of a function without changing the code of the function itself. This chapter will lay the foundational concepts needed to thoroughly understand decorators (functions as objects, scope, and closures), and give you a good introduction into how decorators are used and defined. This deep dive into Python internals will set you up to be a superstar Pythonista.
Chapter
premiaMore on Decorators
Now that you understand how decorators work under the hood, this chapter gives you a bunch of real-world examples of when and how you would write decorators in your own code. You will also learn advanced decorator concepts like how to preserve the metadata of your decorated functions and how to write decorators that take arguments.
Course
Learn to write efficient code that executes quickly and allocates resources skillfully to avoid unnecessary overhead.
Course
Learn about modularity, documentation, and automated testing to help you solve data science problems more quickly and reliably.
Course
Master Python testing: Learn methods, create checks, and ensure error-free code with pytest and unittest.
Course
Discover the fundamental concepts of object-oriented programming (OOP), building custom classes and objects!
Project
premiaPerforming a Code Review
Review a data analysis workflow for adherence to Python standards and best-practices.
ukończony
Zdobądź oświadczenie o osiągnięciach
Dodaj te dane uwierzytelniające do swojego profilu na LinkedIn, CV lub życiorysuUdostępnij w mediach społecznościowych i w swojej ocenie okresowej
W zestawiePremia or Zespoły
Zapisz Się TerazDołącz do nas 19 milionów uczniów i zacznij Python Programming już dziś!
Utwórz bezpłatne konto
Lub
Kontynuując, akceptujesz nasze Warunki korzystania, naszą Politykę prywatności oraz fakt, że Twoje dane są przechowywane w USA.