This is my dir structure
-C/
---C.py
-B/
---B.py - reads and prints contents of another_folder/A.txt
---another_folder/
------A.txt
i need to import B.py in C.py
but even if i change the sys.path i.e sys.path.insert('../B'), it doesn’t read the another_folder/A.txt and throws an error
any ideas? or am i doing something fundamentally wrong?