Reputation: 473
I have this python application structure in Visual Studio 2017.
I created a tests
folder using the Solution explorer and there's a test.py
file in it.
I want to use the test
module which is stored in tests
directory.
But when I try to use import tests.test
it says test
not defined.
I have just started learning python.
I looked up to this but I dont understand why isnt it working. Am I doing something wrong? I looked it up here
Upvotes: 0
Views: 571