当前位置: 移动技术网 > IT编程>脚本编程>Python > Python 枚举 enum

Python 枚举 enum

2018年10月26日  | 移动技术网IT编程  | 我要评论

win7杀毒软件推荐,表白麦词,雪地摩托车游戏

python 枚举 enum

enum 标准模块在 3.4 版本才可以使用,3.3 一下版本需要独立安装:,官方说明:

enum34 is the new python stdlib enum module available in python 3.4
backported for previous versions of python from 2.4 to 3.3.
tested on 2.6, 2.7, and 3.3+

使用方法:

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网