though that Stackoverflow article got s bit confusing when you read down it a bit
Ughh, that’s mostly because every answer on there is wrong. (At least now I know why those snippets keep appearing on the issue tracker.) Note that you’re specifically looking for the executable path whereas that Stackoverflow question is asking about application resources so sys.executable is right for your use case but wrong for what that question is about. -- 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 pyinstaller+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/pyinstaller/c3d93509-1e0d-4dba-9fc8-93c9d2bbf2f6n%40googlegroups.com.