This is my folder structure:
-Test
-Folder1
-a.py
-Folder2
-test.py
-b.py
where a.py
:
def a():
print('a works!')
and b.py
:
def b():
print('b works!')
How do I run functions a()
and b()
from test.py
?
I have tried from Folder1.a import a
, from .Folder1.a import a
and many other variations.