One new and exciting feature that came out in Python 3.7 was the data class. A data class is a class typically containing mainly data, although there aren’t really any restrictions.
With data classes, you don’t have to write boilerplate code to get proper initialization, representation, and comparisons for your objects.
Click here for more info about the complete course: https://realpython.com/courses/python...
Sur cette page du site, vous pouvez voir la vidéo en ligne Defining Python Data Classes durée online en bonne qualité , qui a été Téléchargé par l'utilisateur Real Python 16 septembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 14,704 fois et il a aimé 487 téléspectateurs. Bon visionnage!