PyCharm autocomplete when importing * from a package -
is possible have autocomplete in pycharm when import modules package way?
from sound import * effects. <- no autocomplete file effects.py
in root of package directory have __init__.py
defines list named __all__ = ["effects"]
more information about: https://docs.python.org/3/tutorial/modules.html#importing-from-a-package
p.s.: it's not work, if mark package directory sources root.
Comments
Post a Comment