easymacro/source/easymacro/__init__.py

23 lines
480 B
Python
Raw Normal View History

2022-08-11 22:33:41 -05:00
#!/usr/bin/env python3
from .easymain import *
2022-08-15 23:57:31 -05:00
from .easydialog import *
2022-08-11 22:33:41 -05:00
from .easytools import *
from .easydocs import LODocuments
def __getattr__(name):
classes = {
'active': LODocuments().active,
2022-08-15 23:57:31 -05:00
'dates': Dates,
'dialog': LODialog,
'email': Email,
'inspect': LOInspect,
'paths': Paths,
2022-08-11 22:33:41 -05:00
}
if name in classes:
return classes[name]
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")