A VCS repository archival tool
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- import importlib
- import os
- import codearchiver.core
-
-
- def _import_modules():
- files = os.listdir(__path__[0])
- for fn in files:
- if fn.endswith('.py') and fn != '__init__.py':
- # Import module if not already imported
- moduleName = f'codearchiver.modules.{fn[:-3]}'
- module = importlib.import_module(moduleName)
-
-
- _import_modules()
|