10 lines
223 B
Python
10 lines
223 B
Python
# encoding: UTF-8
|
|
|
|
from language import constant
|
|
|
|
# 将常量定义添加到vtConstant.py的局部字典中
|
|
d = locals()
|
|
for name in dir(constant):
|
|
if '__' not in name:
|
|
d[name] = constant.__getattribute__(name)
|