I have a Python file called caller.py located at C:\Temp. I have two other Python files: local_testlib.py
located in C:\Temp and testlib.py
located in C:\Temp\MyLibs.
I am trying to import both of those files in Wing IDE Pro.
import sys
sys.path.append(r'C:\Temp\MyLibs')
import testlib #located in C:\Temp\MyLibs
import local_testlib #located in C:\Temp
#check suggestions by Wing
local_testlib. #get suggestions as list of variables etc. from the file
testlib. #don't get any suggestions
print testlib.myvar #get variable value printed OK
I get suggestions only for the local_testlib, nothing for the testlib (see picture below). I do get access to the variables in the testlib.py (so it is imported correctly) though. What adjustments should I have done to make this work?