Hallo,
if i try to run a python script from another directory, it tells me everytime that he cannot find all the ressource files:
pygame.error: Couldn't open ../data/icon.png
etc..
I think this is because of the relative paths and the now changed working directory?
Am I right? and how can i avoid this?
greetings
Edit: Loading code:
path = os.path.join('..', 'data', 'gfx', filename)
blah = pygame.image.load(path).convert_alpha()