Reputation: 69
I am working on a project using python.
I am trying to import the .py file that is in the same parent folder. This is my simplified project tree
My_project
+--run.py
|
+--trn_db.py
in run.py
I did import trn_db as td
but it has an unresolved import warning.
How do I resolve this?
Thank you.
Upvotes: 0
Views: 58