Guest User

Untitled

a guest
Jun 18th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. if hasattr(sys, 'frozen'):
  2. exe_dir = os.path.dirname(sys.executable)
  3.  
  4. # and later...
  5. resources_path = os.path.normpath(os.path.abspath(os.path.join(exe_dir, '..', 'res')))
Add Comment
Please, Sign In to add comment