I need to get Path for PyQt library in python program. Program is run as a script from another application, therefore my
sys.executable = \'D:/program files/vis
you can try to load the module and after check for it's __file__ attribute to get the path of the .pyc file.
for example like this:
import MODULE, os path = os.path.dirname(MODULE.__file__)
Regards, HTH!