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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -