Integrazione codebase RSE
This commit is contained in:
1948
src/Functions_Energy_Model.py
Normal file
1948
src/Functions_Energy_Model.py
Normal file
File diff suppressed because it is too large
Load Diff
2895
src/Functions_Financial_Model.py
Normal file
2895
src/Functions_Financial_Model.py
Normal file
File diff suppressed because it is too large
Load Diff
1408
src/Functions_General.py
Normal file
1408
src/Functions_General.py
Normal file
File diff suppressed because it is too large
Load Diff
1842
src/Functions_Load_Emulator_and_DSM.py
Normal file
1842
src/Functions_Load_Emulator_and_DSM.py
Normal file
File diff suppressed because it is too large
Load Diff
11
src/__init__.py
Normal file
11
src/__init__.py
Normal file
@@ -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}")
|
||||
BIN
src/__pycache__/Functions_Energy_Model.cpython-310.pyc
Normal file
BIN
src/__pycache__/Functions_Energy_Model.cpython-310.pyc
Normal file
Binary file not shown.
BIN
src/__pycache__/Functions_Financial_Model.cpython-310.pyc
Normal file
BIN
src/__pycache__/Functions_Financial_Model.cpython-310.pyc
Normal file
Binary file not shown.
BIN
src/__pycache__/Functions_General.cpython-310.pyc
Normal file
BIN
src/__pycache__/Functions_General.cpython-310.pyc
Normal file
Binary file not shown.
BIN
src/__pycache__/Functions_Load_Emulator_and_DSM.cpython-310.pyc
Normal file
BIN
src/__pycache__/Functions_Load_Emulator_and_DSM.cpython-310.pyc
Normal file
Binary file not shown.
BIN
src/__pycache__/__init__.cpython-310.pyc
Normal file
BIN
src/__pycache__/__init__.cpython-310.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user