2 years ago
#71251
ca9163d9
Pylint unable to "from X.Y import Z", but "from X import Y" works?
I'm using Visual Studio Code with Python externs (Python 3.8).
The following statement got a pylint error with message of "Unable to import 'a.b'pylint(import-error)"
from a.b import c
However, the following one doesn't have pylint error?
from a import b
x = b.c
python
pylint
0 Answers
Your Answer