7 lines
174 B
Python
7 lines
174 B
Python
from os.path import join
|
|
from pathlib import Path
|
|
|
|
nodes = {}
|
|
for node in Path(join(repo_path, "nodes")).rglob("*.py"):
|
|
with open(node, 'r') as f:
|
|
exec(f.read())
|