python - How should I write an __init__ file so that my module will appear in auto-completion of Pydev? -
assuming have package following structure, how should write init files every file , subpackage can viewed in code completion of pydev? know if added import subpackage
in #1 init file, can view subpackage in auto-completion doubt if correct way it. if so, when should consider put import statement in init file?
package/ __init__.py #1 file.py file2.py file3.py subpackage/ __init__.py #2 submodule1.py submodule2.py
Comments
Post a Comment