In order for python to see subDir
as a valid python structure, you must make it a package. You make it a package by including a __init__.py
file in that directory. The file can be empty.
Once subDir
has such a file, the statement from subDir import x
should work.