René's URL Explorer Experiment


Title: enum --- 對列舉的支援 — Python 3.14.0 說明文件

direct link

Domain: python.github.io

readthedocs-addons-api-version1

Links:

https://www.python.org/
目錄https://python.github.io/python-docs-zh-tw/contents.html
enum --- 對列舉的支援https://python.github.io/python-docs-zh-tw/library/enum.html
模組內容https://python.github.io/python-docs-zh-tw/library/enum.html#module-contents
資料型別https://python.github.io/python-docs-zh-tw/library/enum.html#data-types
支援的 __dunder__ 名稱https://python.github.io/python-docs-zh-tw/library/enum.html#supported-dunder-names
支援的 _sunder_ 名稱https://python.github.io/python-docs-zh-tw/library/enum.html#supported-sunder-names
通用項目與裝飾器https://python.github.io/python-docs-zh-tw/library/enum.html#utilities-and-decorators
備註https://python.github.io/python-docs-zh-tw/library/enum.html#notes
reprlib --- repr() 的替代實作https://python.github.io/python-docs-zh-tw/library/reprlib.html
graphlib —-- 使用類圖 (graph-like) 結構進行操作的功能https://python.github.io/python-docs-zh-tw/library/graphlib.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/library/enum.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/library/graphlib.html
上一頁https://python.github.io/python-docs-zh-tw/library/reprlib.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 標準函式庫 (Standard Library)https://python.github.io/python-docs-zh-tw/library/index.html
資料型別https://python.github.io/python-docs-zh-tw/library/datatypes.html
enum --- 對列舉的支援https://python.github.io/python-docs-zh-tw/library/enum.html
https://python.github.io/python-docs-zh-tw/library/enum.html#module-enum
Lib/enum.pyhttps://github.com/python/cpython/tree/3.14/Lib/enum.py
基本教學https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-basic-tutorial
進階教學https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-advanced-tutorial
列舉指南https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-cookbook
classhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#class
classhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#class
列舉有何差異https://python.github.io/python-docs-zh-tw/howto/enum.html#enum-class-differences
https://python.github.io/python-docs-zh-tw/library/enum.html#module-contents
EnumTypehttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
備註https://python.github.io/python-docs-zh-tw/library/enum.html#notes
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
備註https://python.github.io/python-docs-zh-tw/library/enum.html#notes
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
備註https://python.github.io/python-docs-zh-tw/library/enum.html#notes
ReprEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.ReprEnum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
str()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
EnumCheckhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumCheck
verify()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.verify
FlagBoundaryhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.FlagBoundary
EnumDicthttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumDict
dicthttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#dict
EnumTypehttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
property()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.property
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
unique()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.unique
verify()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.verify
member()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.member
nonmember()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.nonmember
global_enum()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.global_enum
str()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
repr()https://python.github.io/python-docs-zh-tw/library/functions.html#repr
show_flag_values()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.show_flag_values
https://python.github.io/python-docs-zh-tw/library/enum.html#data-types
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType
metaclasshttps://python.github.io/python-docs-zh-tw/glossary.html#term-metaclass
建立 EnumType 的子類別https://python.github.io/python-docs-zh-tw/howto/enum.html#enumtype-examples
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__call__
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__contains__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__dir__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__getitem__
KeyErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#KeyError
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__iter__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__len__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__members__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__reversed__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.name
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.value
__new__()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__new__
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
dicthttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#dict
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
dataclasshttps://python.github.io/python-docs-zh-tw/library/dataclasses.html#dataclasses.dataclass
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._name_
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._value_
__new__()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__new__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._order_
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._ignore_
TimePeriodhttps://python.github.io/python-docs-zh-tw/howto/enum.html#enum-time-period
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__dir__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._generate_next_value_
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__init__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__init_subclass__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._missing_
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__new__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__repr__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__str__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__format__
__str__()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__str__
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
Dataclass supporthttps://python.github.io/python-docs-zh-tw/howto/enum.html#enum-dataclass-support
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._add_alias_
NameErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#NameError
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._add_value_alias_
ValueErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#ValueError
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
__format__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__format__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
__format__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__format__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag.__contains__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag.__or__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag.__and__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag.__xor__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag._numeric_repr_
hex()https://python.github.io/python-docs-zh-tw/library/functions.html#hex
oct()https://python.github.io/python-docs-zh-tw/library/functions.html#oct
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
FlagBoundaryhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.FlagBoundary
repr()https://python.github.io/python-docs-zh-tw/library/functions.html#repr
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
autohttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
__str__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__str__
__format__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__format__
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.ReprEnum
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
repr()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__repr__
str()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
str()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
format()https://python.github.io/python-docs-zh-tw/library/functions.html#format
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
str()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__str__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumCheck
verify()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.verify
ValueErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#ValueError
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumCheck.UNIQUE
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumCheck.CONTINUOUS
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumCheck.NAMED_FLAGS
auto()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.FlagBoundary
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.FlagBoundary.STRICT
ValueErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#ValueError
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.FlagBoundary.CONFORM
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.FlagBoundary.EJECT
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
inthttps://python.github.io/python-docs-zh-tw/library/functions.html#int
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.FlagBoundary.KEEP
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumDict
dicthttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#dict
Preparing the class namespacehttps://python.github.io/python-docs-zh-tw/reference/datamodel.html#prepare
EnumTypehttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType
MutableMappinghttps://python.github.io/python-docs-zh-tw/library/collections.abc.html#collections.abc.MutableMapping
__setitem__()https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__setitem__
update()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#dict.update
|=https://python.github.io/python-docs-zh-tw/reference/datamodel.html#object.__ior__
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumDict.member_names
https://python.github.io/python-docs-zh-tw/library/enum.html#supported-dunder-names
__members__https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__members__
__new__()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum.__new__
https://python.github.io/python-docs-zh-tw/library/enum.html#supported-sunder-names
_name_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._name_
_value_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._value_
_missing_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._missing_
_ignore_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._ignore_
listhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#list
strhttps://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
_order_https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._order_
_generate_next_value_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._generate_next_value_
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
_add_alias_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._add_alias_
_add_value_alias_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._add_value_alias_
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
IPython 的豐富顯示https://ipython.readthedocs.io/en/stable/config/integrating.html#rich-display
https://python.github.io/python-docs-zh-tw/library/enum.html#utilities-and-decorators
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.auto
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
_generate_next_value_()https://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum._generate_next_value_
Enumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Enum
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
Flaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.Flag
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.property
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.unique
classhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#class
__members__https://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumType.__members__
ValueErrorhttps://python.github.io/python-docs-zh-tw/library/exceptions.html#ValueError
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.verify
classhttps://python.github.io/python-docs-zh-tw/reference/compound_stmts.html#class
EnumCheckhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.EnumCheck
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.member
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.nonmember
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.global_enum
str()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
repr()https://python.github.io/python-docs-zh-tw/library/functions.html#repr
re.RegexFlaghttps://python.github.io/python-docs-zh-tw/library/re.html#re.RegexFlag
https://python.github.io/python-docs-zh-tw/library/enum.html#enum.show_flag_values
https://python.github.io/python-docs-zh-tw/library/enum.html#notes
IntEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntEnum
StrEnumhttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.StrEnum
IntFlaghttps://python.github.io/python-docs-zh-tw/library/enum.html#enum.IntFlag
str()https://python.github.io/python-docs-zh-tw/library/stdtypes.html#str
目錄https://python.github.io/python-docs-zh-tw/contents.html
enum --- 對列舉的支援https://python.github.io/python-docs-zh-tw/library/enum.html
模組內容https://python.github.io/python-docs-zh-tw/library/enum.html#module-contents
資料型別https://python.github.io/python-docs-zh-tw/library/enum.html#data-types
支援的 __dunder__ 名稱https://python.github.io/python-docs-zh-tw/library/enum.html#supported-dunder-names
支援的 _sunder_ 名稱https://python.github.io/python-docs-zh-tw/library/enum.html#supported-sunder-names
通用項目與裝飾器https://python.github.io/python-docs-zh-tw/library/enum.html#utilities-and-decorators
備註https://python.github.io/python-docs-zh-tw/library/enum.html#notes
reprlib --- repr() 的替代實作https://python.github.io/python-docs-zh-tw/library/reprlib.html
graphlib —-- 使用類圖 (graph-like) 結構進行操作的功能https://python.github.io/python-docs-zh-tw/library/graphlib.html
回報錯誤https://python.github.io/python-docs-zh-tw/bugs.html
顯示原始碼 https://github.com/python/cpython/blob/main/Doc/library/enum.rst?plain=1
索引https://python.github.io/python-docs-zh-tw/genindex.html
模組https://python.github.io/python-docs-zh-tw/py-modindex.html
下一頁https://python.github.io/python-docs-zh-tw/library/graphlib.html
上一頁https://python.github.io/python-docs-zh-tw/library/reprlib.html
Pythonhttps://www.python.org/
3.14.0 Documentationhttps://python.github.io/python-docs-zh-tw/index.html
Python 標準函式庫 (Standard Library)https://python.github.io/python-docs-zh-tw/library/index.html
資料型別https://python.github.io/python-docs-zh-tw/library/datatypes.html
enum --- 對列舉的支援https://python.github.io/python-docs-zh-tw/library/enum.html
版權所有https://python.github.io/python-docs-zh-tw/copyright.html
歷史與授權條款https://python.github.io/license.html
敬請捐贈。https://www.python.org/psf/donations/
發現 bughttps://python.github.io/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.