This is a preview of the video course, "Getting to Know Duck Typing in Python." Python makes extensive use of a type system known as duck typing. This system is based on an object’s behavior and interface. Many built-in classes and tools support this type system, which makes them pretty flexible and decoupled.
Duck typing is a core concept in Python. Understanding it will give you deeper insight into how the language works and, more importantly, how to use this approach in your own code.
This is a portion of the complete course, which you can find here:
https://realpython.com/courses/duck-t...
The rest of the course covers:
What duck typing is and what its pros and cons are
How Python’s classes and tools take advantage of duck typing
How special methods and protocols support duck typing
What the alternatives to duck typing are in Python
Auf dieser Seite können Sie das Online-Video Introducing Duck Typing in Python mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Real Python 13 März 2025 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,861 Mal angesehen und es wurde von 74 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!