[Python-Dev] Problem in importing python packages under python 3.6 environment

2018年8月09日 08:33:42 -0700

Hi All,
I have limited knowledge on python development. I am trying to write a
test application which needs to import from many packages across
mutliple directories.
I tried using an environment variable and appending to sys.path variable so
that import Class methods works.
I am trying to replace the above logic by below syntax.
from directory.fileName import ClassName
But this syntax does not work. Please let me know any solution for this
issue.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to