Learn Enum in Object-oriented Python

Publié le: 16 juin 2019
sur la chaîne: Warren Wong
13,817
138

Python allows you to start coding out your logic simply and then incrementally add more complexity. Here's a demonstration of how to start out with a simple class and then add getters and setters when you need to validate parameters in the class constructor.
I'll also show you how to use Enum, which is new in Python 3.4.

For reference to the code, please see the following post:
https://warrenwong.org/object-oriente...


Sur cette page du site, vous pouvez voir la vidéo en ligne Learn Enum in Object-oriented Python durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Warren Wong 16 juin 2019, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 13,817 fois et il a aimé 138 téléspectateurs. Bon visionnage!