Python Tutorial for Beginners | Enum in Python ( available in Python 3.4+ )

Publié le: 19 mai 2020
sur la chaîne: harshal mishra
716
10

In this short tutorial , you will understand the basics of Enum in Python. The Enums are not widely used in python so I have kept the scope of this video to basic understanding.

Don't Forget to like and subscribe.
Please provide your suggestions under comments

Full Playlist :    • Py-Pie Python Tutorial  

Facebook :   / py-pie-python-for-beginners-113344127050954  

Twitter :   / shankar35425457  


'''

Enum in Python

'''

from enum import Enum


class city(Enum):
NYC = 1
Chicago = 2
San_Jose = 3


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Tutorial for Beginners | Enum in Python ( available in Python 3.4+ ) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur harshal mishra 19 mai 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 716 fois et il a aimé 10 téléspectateurs. Bon visionnage!