I have a folder present at the path /home/krishma/test
. test folder contains a subfolders and python files.
example:
test -> db -> db.py
I want to use python files of test folder in second folder which is present at /user/scripts
.
example:
scripts -> test -> test.py
In second folder,
I have a file named test.py
and I want to import db.py
present in 1st test folder.
How can I import db.py
in test.py
?