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

Pubblicato il: 19 maggio 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online Python Tutorial for Beginners | Enum in Python ( available in Python 3.4+ ) della durata di ore minuti seconda in buona qualità , che l'utente ha caricato harshal mishra 19 maggio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 716 volte e gli è piaciuto 10 spettatori. Buona visione!