def resource_path(relative):
if hasattr(sys, "<STR_LIT>"):<EOL><INDENT>return os.path.join(sys._MEIPASS, relative)<EOL><DEDENT>return os.path.join(relative)<EOL>
Adjust path for executable use in executable file