[wingide-users] Auto-completion for file in dir above

brian downing brian.downing at yakkadesign.com
Fri Nov 26 13:43:27 MST 2010


How do I get Auto-completion to work for a file that is in the above dir?


My dirs look like

---------------------

src

    topFile.py


    subDir

       __init__.py -> empty file

        subFile.py

---------------------


in subFile.py I want to import topFile.py. The code I have looks like:

----------------------------

sys.path.append('..')

from topFile import *

----------------------------


With this, the auto-completion doesn't not work.


When I did a web search I found relative import but I can't seem to get 
it to work.


Brian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20101126/fc0089a1/attachment.html


More information about the wingide-users mailing list