Integrazione codebase RSE
This commit is contained in:
1 parent
d34a6ab3e0
commit
a422acf477
145 files changed
+7867516
-1
No files matched your search
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,11 @@
|
||||
|
||||
import os
|
||||
import glob
|
||||
|
||||
# Prendi tutti i file .py nella cartella corrente (src), tranne __init__.py
|
||||
modules = glob.glob(os.path.join(os.path.dirname(__file__), "*.py"))
|
||||
modules = [os.path.basename(f)[:-3] for f in modules if not f.endswith("__init__.py")]
|
||||
|
||||
# Importa dinamicamente ogni modulo trovato
|
||||
for module_name in modules:
|
||||
exec(f"from . import {module_name}")
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user