Hello,

I am converting some small scripts to exe files to host on a Citrix server. 
I am hoping to be able to get the path to the .exe file so I can traverse 
to folders next to the exe file itself. Right now I use:

script_path = os.path.abspath(__file__) #path to this script

But this fails at runtime with the exe file. I read the notes about 
__file__ but do not want to bundle the files into the exe itself. How can I 
find the path to the exe that is running?

Thanks,

Judd

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/pyinstaller/84bc6f62-3d54-4aef-b6ee-ca8f667f2113n%40googlegroups.com.

Reply via email to