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...
In questa pagina del sito puoi guardare il video online Defining Python Data Classes della durata di online in buona qualità , che l'utente ha caricato Real Python 16 settembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 14,704 volte e gli è piaciuto 487 spettatori. Buona visione!