I am trying to import files from other files. I checked out examples but I am still confused.
The structure of the folder is something like:
Main folder
---->test.py
---->Folder1
----> folder2
-------> script2.1.py
-------> script2.2.py
-------> script2.3.py
----> folder3
-------> script3.1.py
-------> script3.2.py
-------> script3.3.py
----> folder4
-------> script4.1.py
-------> script4.2.py
-------> script4.3.py
My intention is to include script2.1 to script4.3
in test.py
. I used sys.append
and included the paths of folder1, folder2 and folder3 separately. Still there appears to be some issue. Can I get some help on this?