Hi,

Does anybody knows how do I find the executable location from inside the 
executable?
If I run something like the following:

from os.path import join, dirname
join(dirname(__file__), "..", "lib")

It doesn't get me to the right place, but returns me this weird result:
main/build/pyi.linux2/main/outPYZ1.pyz/../lib

Is there a way to get this info from pyinstaller?


Kind Regards,

---
Adriano Monteiro Marques

http://www.thoughtspad.com
http://www.umitproject.org
http://blog.umitproject.org
http://www.pythonbenelux.org

"Don't stay in bed, unless you can make money in bed." - George Burns

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to